Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php object into nested json object

{ "client": {
    "build": "1.0",
    "name": "xxxxxx",
    "version": "1.0"
    },
    "protocolVersion": 4,
    "data": {
        "distributorId": "xxxx",
        "distributorPin": "xxxx",
        "locale": "en-US"
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #object #nested #json #object
ADD COMMENT
Topic
Name
4+9 =