Hi Bart,

On 7 Feb 2016, at 9:06 am, jazzsalsa <[email protected]> wrote:

> This really helps. I will give that I try. How do I add it now to the 
> database uisng the EOF?

Hugi’s advice is about round-tripping to and from JSON as a serialisation 
format, because you mentioned "a nested JSON object which is converted to a 
dictionary” in your original post. So it’s an alternative to the “converted to 
a dictionary” part. If you also need to persist this data using EOF, you’d make 
the objects in the object graph (assembled from the JSON) Enterprise Objects, 
and then save them out in the usual way.

> Add them to a NSDictionary with a loop and store in the editing context?

The idea here would be to drop the use of dictionaries if you can. But I think 
we’re approaching the limit of what we can suggest without knowing some more 
detail (at a higher level) about what you’re trying to do.


-- 
Paul Hoadley
http://logicsquad.net/




 _______________________________________________
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