• 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: Json
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Json


  • Subject: Re: Json
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 17 Feb 2015 10:36:20 +1100

On 17 Feb 2015, at 10:29 am, Shane Stanley <email@hidden> wrote:

set {theData, theError} to current application's NSJSONSerialization's dataWithJSONObject:someASThing options:(current application's NSJSONWritingPrettyPrinted) |error|:(reference)

You may notice I also accidentally changed the option there to include pretty printing. If you don't want that, just replace it with 0.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Json
      • From: Jörgen Stahle <email@hidden>
References: 
 >Json (From: Jörgen Stahle <email@hidden>)
 >Re: Json (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Applescript Studio?
  • Next by Date: Re: Json
  • Previous by thread: Re: Json
  • Next by thread: Re: Json
  • Index(es):
    • Date
    • Thread