Hy,

If your tool should be completely independent of WO you could try to transform 
the Plist-String into a JSON-String and use that with e.g. GSON to transform it 
further into Java-Objects.

The plist- and JSON-Format is very similar and is should be able to transform 
one format to the other. I haven't tested it but it seems the necessary changes 
from plist to JSON are:

  *   replace "(" and ")" with "[" and "]"
  *   replace "=" with ":"
  *   replace ";" with ","

Best regards,
Wolfy
________________________________
Von: Webobjects-dev 
<[email protected]> im Auftrag von 
Markus Ruggiero <[email protected]>
Gesendet: Mittwoch, 27. September 2017 09:03
An: [email protected]
Betreff: Reading EOModel files

I am toying with the idea of writing a helper tool for EOModel. For this I need 
to read and write EOModel files. WOLips can do it, but as the source is not 
very easy to understand I simply ask here whether someone can point me to the 
relevant section in WOLips sources. Has anyone alreay done this and can share 
some code? It must not have any dependency on WO/Wonder stuff as the tool 
should be fully standalone.

Thanks for any help
---markus---
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com

This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to