Json 0.0.2A JSON to Fantom object mapping library (Internal)
Json is a support library that aids Alien-Factory in the development of other libraries, frameworks and applications. Though you are welcome to use it, you may find features are missing and the documentation incomplete.
Json is a customisable Fantom to Javascript Object Notation (JSON) mapping library.
Features:
- Converts all core Fantom types
- Converts nested / embedded objects
- Runs on Javascript platforms
- IoC enabled
- Simple to use
Just annotate fields with @JsonProperty
then read / write JSON with Json().readEntity(...)
and Json().writeEntity(...)
- couldn't be easier!
Install
To install Json with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install Json with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use Json in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afJson 0.0.2 - 0.0"]
Documentation
Information
Meta information on the Json pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 103.10 kB
- Licence
- ISC Licence (ISC)
- Built on
- 23rd Feb 2016
- Source code
- via Mercurial at https://bitbucket.org/AlienFactory/afjson
- Depends on
- afBeanUtils, afConcurrent, concurrent, sys
- Referenced by
- Javascript Compatible
Dependency Graph
Release History
There have been 13 releases of Json: