You are here

README.txt in Views JSON Query 7

Overview
Views JSON Query is a Views 3 plugin that adds native JSON query generation. 
It allows you to parse JSON using Views' graphical query builder.
It works much like Views XML Backend but with JSON.

How it works
When creating a new view choose "Json" on "Show" field.
Then when editing the view, click Settings on Query settings, choose the source 
of the Json data, define the row apath and you're done.
Now just add one or more fields and set the key value of the field you want to 
show.

Example
A file called nodes.json that is hosted on www.example.com with the 
following structure:
{
  "nodes": [
    {
      "nid": 1,
      "title": "Views JSON QUery",
      "description": "A quite handy module."
    }, 
    {
      "nid": 2,
      "title": "Views XML Backend",
      "description", "Luke, I'm your father."
    }
  ]
}

Query settings:
  Json File: http://www.example.com/nodes.json
  Row Apath: nodes

Hope you find this module useful.

File

README.txt
View source
  1. Overview
  2. Views JSON Query is a Views 3 plugin that adds native JSON query generation.
  3. It allows you to parse JSON using Views' graphical query builder.
  4. It works much like Views XML Backend but with JSON.
  5. How it works
  6. When creating a new view choose "Json" on "Show" field.
  7. Then when editing the view, click Settings on Query settings, choose the source
  8. of the Json data, define the row apath and you're done.
  9. Now just add one or more fields and set the key value of the field you want to
  10. show.
  11. Example
  12. A file called nodes.json that is hosted on www.example.com with the
  13. following structure:
  14. {
  15. "nodes": [
  16. {
  17. "nid": 1,
  18. "title": "Views JSON QUery",
  19. "description": "A quite handy module."
  20. },
  21. {
  22. "nid": 2,
  23. "title": "Views XML Backend",
  24. "description", "Luke, I'm your father."
  25. }
  26. ]
  27. }
  28. Query settings:
  29. Json File: http://www.example.com/nodes.json
  30. Row Apath: nodes
  31. Hope you find this module useful.