PHP Classes

File: tests/res/person.json

Recommend this page to a friend!
  Classes of Julian Finkler   JSON Object Mapper   tests/res/person.json   Download  
File: tests/res/person.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JSON Object Mapper
Create objects of classes mapped from JSON strings
Author: By
Last change: Date and Datetime type added

Supports the following formats
2017-09-09
2017-09-09 13:20:59
2017-09-09T13:20:59
2017-09-09T13:20:59.511Z
2017-09-09T13:20:59-02:00

and of course Unix-Timestamps
Date: 7 years ago
Size: 483 bytes
 

Contents

Class file image Download
{ "firstname": "Pete", "surname": "Peterson", "age": 28, "height": 1.72, "is_cool": true, "nicknames": [ "Pepe", "Pete" ], "dictionary": { "hello": "Hi", "bye": "Ciao!" }, "address": { "street": "Mainstreet 22a", "zip_code": "A-12345", "town": "Best Town", "country": "Germany" }, "created": "2017-03-08T09:41:00", "updated": "1504915250", "deleted": 1505001600 }