• 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: Use XML to create extensible data structures in text fields?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use XML to create extensible data structures in text fields?


  • Subject: Re: Use XML to create extensible data structures in text fields?
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 24 Nov 2017 14:29:04 -0600

On 11/23/2017, at 13:38, Michael Grant <email@hidden
<mailto:email@hidden>> wrote:
> Thanks for the suggestion. Apart from just googling, do you have any
> suggestions for an absolute beginner to get oriented with JSON? Would I have
> to learn Javascript?


Hey Michael,

My sense from your original post was that you were going to dump this data
structure in a text field in one or more apps.  In view of that I though it
might be better to use a data structure that is easier to read than XML.

See the JSON vs. XML section on this page.

https://beginnersbook.com/2015/04/json-tutorial/
<https://beginnersbook.com/2015/04/json-tutorial/>
You can see how much easier to read JSON is compared to XML.

You may also want to peruse this:

https://www.tutorialspoint.com/json/json_tutorial.pdf
<https://www.tutorialspoint.com/json/json_tutorial.pdf>

JSON has become quite ubiquitous so JavaScript, Objective-C, AppleScriptObjC,
Perl, Python, Ruby, and other language have modules for working with it.

--
Best Regards,
Chris

 _______________________________________________
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: Use XML to create extensible data structures in text fields?
      • From: Shane Stanley <email@hidden>
    • Re: Use XML to create extensible data structures in text fields?
      • From: Michael Grant <email@hidden>
References: 
 >Use XML to create extensible data structures in text fields? (From: Michael Grant <email@hidden>)
 >Re: Use XML to create extensible data structures in text fields? (From: Christopher Stone <email@hidden>)
 >Re: Use XML to create extensible data structures in text fields? (From: Michael Grant <email@hidden>)

  • Prev by Date: Re: Use XML to create extensible data structures in text fields?
  • Next by Date: Re: Use XML to create extensible data structures in text fields?
  • Previous by thread: Re: Use XML to create extensible data structures in text fields?
  • Next by thread: Re: Use XML to create extensible data structures in text fields?
  • Index(es):
    • Date
    • Thread