javascript - Is there an alternative to the JSON format? -
during laravel installation, ran composer , javascript object notation (json) format.
i wondering whether alternatives format exist, have same string - value system?
there stacks of data formats can represent data in same way json.
json happens 1 that's found widespread acceptance, there plenty of others.
- yaml uses indentation instead of braces show nesting levels. gives same features json, intended more readable.
- xml uses angle-brackets in same way html. attributes, can have more complex data simple string-value pairs. less readable.
- csv commonly used import data spreadsheets. string-value pairs can represented header row in data.
and there's plenty of others, both standard , proprietary. can make own; long can read , write it, it's data format. there's no right or wrong choice. best solution stick common ones, they'll have more support in languages you're working in, , there more resources available learn from. money, makes json clear winner.
in case, when comes using third-party product composer, you're kinda forced use data format of choice, in case json.
Comments
Post a Comment