2017 © Pedro Peláez
 

library json

JSON model for the Ornament ORM framework

image

ornament/json

JSON model for the Ornament ORM framework

  • Wednesday, June 20, 2018
  • by monomelodies
  • Repository
  • 1 Watchers
  • 0 Stars
  • 264 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 20 Versions
  • 12 % Grown

The README.md

json

JSON helpers for Ornament ORM, (*1)

Installation

$ composer require ornament/json

Usage

This packaged provides the Json decorator, which automagically calls json_decode on a string value (storage drivers usually don't do that for you). The decorator throws a DomainException if the string passed is not valid JSON. If the value input is not a string, it is used verbatim., (*2)

Additionally, it provides two helpful traits: SerializeAll and SerializeOnlyPublic. The first makes the property serializable; the second also, but only exposes the public properties., (*3)

Caveats

While null is a valid value to encapsulate in a JSON string, it is assumed that this value is not valid. The decoded JSON should be either an object or an array - encoding null as JSON in a storage engine just doesn't... make a lot of sense., (*4)

The Versions

20/06 2018

dev-master

9999999-dev

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

20/06 2018

0.11.6

0.11.6.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

02/03 2018

0.11.5

0.11.5.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

02/02 2018

0.11.4

0.11.4.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

01/10 2017

0.11.3

0.11.3.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

09/09 2017

0.11.2

0.11.2.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

08/07 2017

0.11.1

0.11.1.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

03/07 2017

0.11.0

0.11.0.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

24/06 2017

0.10.7

0.10.7.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

23/06 2017

0.10.6

0.10.6.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

23/06 2017

0.10.5

0.10.5.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

19/06 2017

0.10.4

0.10.4.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

06/06 2017

0.10.3

0.10.3.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

04/05 2017

0.10.2

0.10.2.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

28/04 2017

0.10.1

0.10.1.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

27/04 2017

0.10.0

0.10.0.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

27/12 2016

0.9.3

0.9.3.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

05/11 2016

0.9.2

0.9.2.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

25/09 2016

0.9.1

0.9.1.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

by Marijn Ophorst

28/08 2016

0.9.0

0.9.0.0

JSON model for the Ornament ORM framework

  Sources   Download

MIT

The Requires

 

by Marijn Ophorst