PHPackages                             ljson/ljson - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ljson/ljson

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

ljson/ljson
===========

JSON extended with pure functions. in PHP

v0.3.1(9y ago)8131[2 issues](https://github.com/Kanti/LJSON/issues)MITPHPPHP &gt;=5.4.0

Since Oct 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Kanti/LJSON)[ Packagist](https://packagist.org/packages/ljson/ljson)[ RSS](/packages/ljson-ljson/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)Dependencies (4)Versions (9)Used By (0)

[![Packagist](https://camo.githubusercontent.com/64ae6a86aff5f615550b38fae66aa12fe4af530c07eab63b6feaca212f1c1136/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6a736f6e2f6c6a736f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ljson/ljson)[![Packagist](https://camo.githubusercontent.com/73ed22df25f10383ce548951f9290dc8dddeb84caa5567514af5b2e698244fc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c6a736f6e2f6c6a736f6e2e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)[![Travis](https://camo.githubusercontent.com/2e6040f0343ac6f64e8889294d3ed7c27354107f39cea72e51e21698af023080/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4b616e74692f4c4a534f4e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Kanti/LJSON/)[![Code Climate](https://camo.githubusercontent.com/33834c76997ea71a9a95732a28adf2dfe45af7ede85a784c8f30f116e20b5c5d/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f4b616e74692f4c4a534f4e2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Kanti/LJSON)[![Code Climate](https://camo.githubusercontent.com/e1cc73da5f073e0b349490d202ee35aacf0e3745a688fe03427e5f0a7a42fdb4/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f4b616e74692f4c4a534f4e2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Kanti/LJSON/coverage)

LJSON
=====

[](#ljson)

LJSON is a drop-in replacement for [JSON](http://www.json.org) which also allows you to parse and stringify pure functions and their contents. There are good security reasons for functions to be out of the JSON specs, but most of those are only significant when you allow arbitrary, side-effective programs. With pure functions, one is able to interchange code while still being as safe as with regular JSON.

> note:
>  this is a port of [LJSON for JavaScript](https://github.com/MaiaVictor/LJSON) originaly from [MaiaVictor](https://github.com/MaiaVictor)

```
