> On Jan 29, 2018, at 12:17 PM, Eric E. Dolecki <edole...@gmail.com> wrote:
> 
> I am generating a String of JSON. Before I use it, I want to check to make 
> sure that it's valid.

Is there a reason you need to generate the JSON by hand, instead of creating a 
Dictionary or Array and letting NSJSONSerialization encode it for you?
If so, are you sure you're handling all the string-quoting and floating-point 
encoding correctly?

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to