bignerdranch / Freddy

A reusable framework for parsing JSON in Swift.
MIT License
1.09k stars 120 forks source link

Is it possible to add a new key/value to an existing JSON object, or combine two JSON objects? #225

Closed rowland-smith closed 7 years ago

rowland-smith commented 7 years ago

Is it possible to add a new key/value to an existing JSON object, or combine two JSON objects? I've been looking around and it looks like Freddy.JSON is immutable.

mdmathias commented 7 years ago

See #125.

You will need to create a new JSON.Dictionary (for example) containing the contents of both.