Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (18 sloc) 942 Bytes

JSONfn - Nodejs plugin

nodejs plugin to convert object with functions to string and string to object.

Version - 0.30.0

Copyright (c) 2012 Vadim Kiryukhin ( vkiryukhin @ )

Home page:

License: Dual licensed under the MIT and GPL licenses:


  • JSONfn.stringify(objfn) - convert object to string;

  • JSONfn.parse(strfn) - convert string to object;


@objfn - javascript object with (or without) functions;

@strfn - string, which was produced by JSONfn.stringify() function;


var strfn = require('jsonfn').JSONfn.stringify(obj);

var objfn = require('jsonfn').JSONfn.parse(strfn);