
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
JS Objects w/ function support.
Move JS from one live system to another.
engines: node >= 8.x
const {encode, decode} = require('js-jsonf');
const obj = {
a: 1,
b() {
return 1;
}
};
const str = encode(obj);
const obj1 = decode(str);
npm i js-jsonf --save
Returns false given an invalid type.
Returns undefined given a invalid syntax.
All types are supported when wrapped in a function.
Function behavior is normalized and consistent; however, the parsed function may contain slight formatting differences from the original; its functionality however, will remain consistent.
As fast as native JSON.parse() JSON.stringify():
// 1M iterations. Each iteration calls both encode and decode.
// js-jsonf:
// milliseconds: 6833.45
// ops/sec: 146,338.965
// ---
// control (native):
// milliseconds: 7033.58
// ops/sec: 142,175.109
MIT
FAQs
Move JS from one live system to another
We found that js-jsonf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.