Welcome to JHson.js

A JavaScript library for converting between HTML and JSON. Lightweight.

Download Now

v2.3.0 - 9th Sep 2024
Main Features
Free, open source (MIT License)
Zero-dependencies!
Written in TypeScript, allowing greater support for React, Angular, and other libraries!
Fully configurable options and text (allowing translations).
Write your JSON directly to any DOM element for rendering, or get the base element for use elsewhere.
Copy the layout for an entire page without additional files!
Apply additional filters to exclude specific node types, CSS styles, attributes, etc.
Data templating for text (with defaults support).
Write CSS directly back to the head for each element!
Bind JSON directly to DOM elements for quick rendering!
Include and write images as Base 64 URLs.
Latest News:

The core of the new website is now completed. However, we will continue to add new examples and documentation over the coming months.

Thank you all for your continued support.