PHP Classes
elePHPant
Icontem

File: src/ObjectMapper.php

Recommend this page to a friend!
  Classes of Julian Finkler  >  JSON Object Mapper  >  src/ObjectMapper.php  
File: src/ObjectMapper.php
Role: Class source
Content type: text/plain
Description: Class source
Class: JSON Object Mapper
Create objects of classes mapped from JSON strings
Author: By
Last change: Additional Date Format added
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
Improvements

- ParseError replaced with InvalidJsonException to keep PHP5 compatibility
- The JsonField-Annotation property "type" supports now escaped FQCNs
- Travis-CI Configuration added
Date: 9 days ago
Size: 10,181 bytes

You need to be a registered user and login to get this file.

1,465,404 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmailHotmailStackOverflowGitHubYahoo