2017 © Pedro Peláez
 

library json-serializer

json serializer (jms serializer + custom data handlers)

image

aipng/json-serializer

json serializer (jms serializer + custom data handlers)

  • Friday, July 27, 2018
  • by aipng
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

JSON Serializer

How to install

composer require aipng/json-serializer

Usage

Could be used standalone or as Nette extension., (*2)

Nette extension

config.neon, (*3)

extensions:
    serializer: AipNg\JsonSerializer\DI\JsonSerializerExtension

serializer:
    temporaryDirectory: %tempDir%/cache
    productionMode: true # optional
    validator: # optional
    serializationHandlers: # optional

Parameters

temporaryDirectory

Use writable path, (*4)

productionMode

For debugging purposes, true by default, (*5)

validator

  • class, that implements AipNg\JsonSerializer\Validator
  • AipNg\JsonSerializer\Validator\NullValidator is used by default

It could be combined with symfony/validator with provided adapter. With contributte/validator use this configuration:, (*6)

extensions:
    serializer: AipNg\JsonSerializer\DI\JsonSerializerExtension
    validator: Contributte\Validator\DI\ValidatorExtension

serializer:
    temporaryDirectory: %tempDir%/cache
    validator: AipNg\JsonSerializer\Validator\SymfonyValidator

serializationHandlers

Specific serialization handlers for JMS serializer. More id JMS documentation., (*7)

The Versions

27/07 2018

dev-master

9999999-dev

json serializer (jms serializer + custom data handlers)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Karel Horsky

27/07 2018

0.1

0.1.0.0

json serializer (jms serializer + custom data handlers)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Karel Horsky