Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is JSON and is it better than xml etc
Message
From
09/02/2019 18:29:51
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
08/02/2019 19:56:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01665642
Message ID:
01666204
Views:
93
Likes (1)
>>>JSON has its place in data processing and interchange. XML is more people-friendly.
>>You do realize that you have to have a schema for that to work right?
>
>Only if you use standard XML tools and the obtuse syntax they impose upon people. If you keep it streamlined and write your own then it's no issue.
>
>Visual FreePro and Visual FreePro, Jr., for example, define BXML, which exactly parallels the simple core XML syntax, with the addition that a length can be specified for attributes with a colon and the length and an equal sign with or without quotes afterward. If the length definition is not present it's basically identical to existing XML syntax.
>
>
<bxml>
>  <data name:4=Rick/>
></bxml>
>
>It allows you to specify "binary" data (or fixed length data) within an XML tag for rapid processing (BXML = binary XML).
>
>A standard SQL-like query language works through the implied data hierarchies which exist within bxml which, when applied to container definitions, are of the form: table + struct, data. It even allows immediate sub-storage of ad hoc data relative to each element.
>
>See: BXML on Visual FreePro's wiki
>
>The syntax there is actually stale as I no longer require the [?bxml version?] line, and have made it a single version so it works with [bxml] alone (using < and > instead of [ and ]).

https://xkcd.com/927/
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform