Re: Writing, then reading JSON
Re: Writing, then reading JSON
- Subject: Re: Writing, then reading JSON
- From: "Bradley O'Hearne" <email@hidden>
- Date: Fri, 19 Sep 2014 14:12:06 -0700
> On Sep 19, 2014, at 1:24 PM, Alex Zavatone <email@hidden> wrote:
>>
>> Is calling regularFileContents the wrong way to read up my JSON file?
Just a side alternative….here’s what I’m doing to solve a similar problem. Base64 encode any value that isn’t a simple string (a document potentially containing other markup, like HTML, embedded JSON, etc.) prior to serializing to JSON. Back it out the same way when deserializing. It has worked well for me.
Brad
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden