Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

JSON formatter - no jquery, uncompressed js file up to 300 lines.

NotificationsYou must be signed in to change notification settings

EventRegistry/json-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

information

  • visualise JSON objects, root level may contains array or object
  • no jquery or other libraries

use

  • insert js & css files to your pages (see src/ folder)
  • create new instance of JSONViewer object
  • append instance container to the DOM using "getContainer()" method
  • visualise json using "showJSON()" method, which accepts 3 arguments - json file, optional: visualise to max level (-1 unlimited, 0..n), optional: collapse all at level (-1 unlimited, 0..n)

test

  • see test/index.html for test

credits

  • create by Roman Makudera 2016 (c)
  • MIT licence, code is free to use

About

JSON formatter - no jquery, uncompressed js file up to 300 lines.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript72.9%
  • HTML17.5%
  • CSS9.6%

[8]ページ先頭

©2009-2025 Movatter.jp