• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Writing, then reading JSON
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Writing, then reading JSON (From: Charles Jenkins <email@hidden>)
 >Re: Writing, then reading JSON (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Writing, then reading JSON
  • Next by Date: Re: MapKit location authorization
  • Previous by thread: Re: Writing, then reading JSON
  • Next by thread: Re: Writing, then reading JSON
  • Index(es):
    • Date
    • Thread