Re: Use XML to create extensible data structures in text fields?
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