PHPackages                             railt/json - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. railt/json

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

railt/json
==========

Simple library for working with json data

1.4.x-dev(6y ago)2329MITPHPPHP &gt;=7.1.3

Since May 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/railt/json)[ Packagist](https://packagist.org/packages/railt/json)[ Docs](http://railt.org)[ RSS](/packages/railt-json/feed)WikiDiscussions 1.4.x Synced 2mo ago

READMEChangelogDependencies (6)Versions (1)Used By (0)

 [![Railt](https://camo.githubusercontent.com/0b50c2bf674e95ba4fc92f5ac922a73a5b58bf284e5b44808fe5e30c674b2ca5/68747470733a2f2f7261696c742e6f72672f696d616765732f6c6f676f2d6461726b2e737667)](https://camo.githubusercontent.com/0b50c2bf674e95ba4fc92f5ac922a73a5b58bf284e5b44808fe5e30c674b2ca5/68747470733a2f2f7261696c742e6f72672f696d616765732f6c6f676f2d6461726b2e737667)

 [![Travis CI](https://camo.githubusercontent.com/1bc57107078a9d66a5fb29668d1a6c504a4a6d009c019a11acb5112283e86cb3/68747470733a2f2f7472617669732d63692e6f72672f7261696c742f6a736f6e2e7376673f6272616e63683d312e342e78)](https://travis-ci.org/railt/json) [![](https://camo.githubusercontent.com/04d81dec036c3df2907dedf9fb16c109d7edba909bae0950d275411bb8bf69ca/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34633736633566303836613731303337376563372f746573745f636f766572616765)](https://codeclimate.com/github/railt/json/test_coverage) [![](https://camo.githubusercontent.com/4c0525d3a4f8040cb0b856554f710fb084446d0601e20c2e67662f75da27bf4d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34633736633566303836613731303337376563372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/railt/json/maintainability)

 [![PHP 7.1+](https://camo.githubusercontent.com/82f44fe3f392d956a0a6c330c62d48cfd37cc0fb6e21c39dad8f86c6c356dd30/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312b2d3666346361352e737667)](https://packagist.org/packages/railt/json) [![railt.org](https://camo.githubusercontent.com/e454d7e2800bf9ae8d0c4373f3312eb36201bb6987a75cf26c7afb56c121d2f3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f6666696369616c2d736974652d3666346361352e737667)](https://railt.org) [![Discord](https://camo.githubusercontent.com/138a9e4e12a3ce4d76600b77fb52ee35a53342b8abaae49177c4db37f194465a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d3666346361352e737667)](https://discord.gg/ND7SpD4) [![Latest Stable Version](https://camo.githubusercontent.com/cf7e6e40e4e96772db2c4ee21a03058008d8dec134b1f53ea01f0cbfdd876b42/68747470733a2f2f706f7365722e707567782e6f72672f7261696c742f6a736f6e2f76657273696f6e)](https://packagist.org/packages/railt/json) [![Total Downloads](https://camo.githubusercontent.com/926e9a10c016d41505343a93a172bfd23fa389b7a5ce53fd717c8fb5f3df3a4a/68747470733a2f2f706f7365722e707567782e6f72672f7261696c742f6a736f6e2f646f776e6c6f616473)](https://packagist.org/packages/railt/json) [![License MIT](https://camo.githubusercontent.com/47ec68285f60a36c6efd84c28998c775d3bb051e4c0c8abf2e0294546387cca6/68747470733a2f2f706f7365722e707567782e6f72672f7261696c742f6a736f6e2f6c6963656e7365)](https://raw.githubusercontent.com/railt/json/1.4.x/LICENSE.md)

Json
====

[](#json)

> Note: All questions and issues please send to

JSON RFC-7159 Usage
-------------------

[](#json-rfc-7159-usage)

Small examples on working with the RFC-7159 specification.

### Encoding

[](#encoding)

```
