PHP Classes
elePHPant
Icontem

File: examples/data.json

Recommend this page to a friend!
  Classes of Nahid Bin Azhar  >  PHP JSON Query  >  examples/data.json  >  Download  
File: examples/data.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP JSON Query
Query JSON data to find and extract information
Author: By
Last change: Merge pull request #25 from GitHubHubus/conditionTests

Add tests for condition
Date: 3 months ago
Size: 1,432 bytes
 

Contents

Class file image Download
{
	"name": "JsonQ",
	"description": "A PHP query build for JSON",
	"vendor":{
		"name": "Nahid Bin Azhar",
		"email": "nahid.dns@gmail.com",
		"website":"https://nahid.im"
	},
	"users":[
		{"id":1, "name":"Johura Akter Sumi", "location": "dhaka", "visits": {
			"name"	: "Barisal",
			"year"	: 2010
		}},
		{"id":2, "name":"Mehedi Hasan Nahid", "location": "barisal", "visits":{
			"name"	: "Dhaka",
			"year"	: 2015
		}},
		{"id":3, "name":"Ariful Islam", "location": "barisal", "visits": {
			"name"	: "Dhaka",
			"year"	: 2010
		}},
		{"id":4, "name":"Suhel Ahmed", "location": "sylhet", "visits": {
			"name"	: "Barisal",
			"year"	: 2014
		}},
		{"id":5, "name":"Firoz Serniabat", "location": "barisal", "visits": {
			"name"	: "Barisal",
			"year"	: 2011
		}},
		{"id":6, "name":"Musa Jewel", "location": "barisal", "visits": {
			"name"	: "Khulna",
			"year"	: 2012
		}}
	],
	"products": [
		{"id":1, "user_id": 2, "city": "bsl", "name":"iPhone", "cat":1, "price": 80000},
		{"id":2, "user_id": 2, "city": null, "name":"Macbook Pro", "cat": 2, "price": 150000},
		{"id":3, "user_id": 2, "city": "dhk", "name":"Redmi 3S Prime", "cat": 1, "price": 12000},
		{"id":4, "user_id": 1, "city": null, "name":"Redmi 4X", "cat":1, "price": 15000},
		{"id":5, "user_id": 1, "city": "bsl", "name":"Macbook Air", "cat": 2, "price": 110000},
		{"id":6, "user_id": 2, "city": null, "name":"Macbook Air Mini", "cat": 2, "price": 105000}
	]
}