-7

What is json in the world of database?

nhgrif
  • 61,578
  • 25
  • 134
  • 173
  • 1
    JSON isn't related to databases, but rather a format to have structured data. There are others like XML and YAML. – Ismael Miguel Jul 13 '15 at 16:02
  • 2
    possible duplicate of [What is JSON and why would I use it?](http://stackoverflow.com/questions/383692/what-is-json-and-why-would-i-use-it) – rolfl Jul 13 '15 at 16:03

2 Answers2

4

JSON can be used by some relational databases as a native formats. Others databases can interpret JSON and insert data into tables.

  • Microsoft SQL (no native support, link is to parser that someone made)

  • MySQL (No native support yet, link to other SO answer with some ideas)

  • PostgreSQL (native support, link to manual)

The long and the short of it, a database is usually not the best tool to consume JSON. It is done much more easily with virtually every modern programming/scripting language ever.

Community
  • 1
  • 1
Phrancis
  • 2,222
  • 2
  • 27
  • 40
0

JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.

Refer: What is JSON

JSON Wikipedia

Rahul
  • 76,197
  • 13
  • 71
  • 125