Sha256: cd6f7af66648fb8df410e79cee9f63771bc681b47b1fe5b9cc0d9a4755651625

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

= JsonT

== DESCRIPTION:

Port of javascript JsonT transformation library. http://goessner.net/articles/jsont/

== FEATURES/PROBLEMS:

Conforms to most of the JsonT spec minus the javascript function ability. (Have to use Proc's instead of javascript function)

== SYNOPSIS:

JsonT.new({'self' = > '<div>{$.test}</div>', 'test' = > '<p>{$.x} {$.y}</p>'}).transform({'test' = > {'x' = > 1, 'y' = > 2}})
= > <div><p>1 2</p></div>

JsonT.new({'self' = > '<div>{$.test}</div>', 'test' = > Proc.new{|t, opts| t['x']+t['y']}}).transform({'test' = > {'x' = > 1, 'y' = > 2}})
= > <div>3</div>

== INSTALL:

sudo gem install jsont

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jsont-0.1.3 README.txt