i have a json array
[
{
"id":1.25,
"name":"rose",
"Number":15,
"SSN":[
12345,
3455
]
},
{
"id":1.15,
"name":"orchid",
"Number":7,
"SSN":[
12345,
3455
]
}
]
i want to get the id value if user searched with any ssn or name or by number.the input for search may not be single value that means it may be combination of ssn and name or it may be name,ssn and number .Any combination of name number ,ssn may be inputs .i have to get id value if the inputs matches using php .i used xpath for xml but i want to search fron json.can someone suggest me with any idea..thank you...