Skip to content

BrentW/presentingJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

presentingJSON

Cleanly displays JSON with HTML and CSS.

  • dependencies: jQuery

Simple usage

$(".json").presentJson();

Options

  • toggleSpeed

  • easing

  • colors

  • all - changes the colors of all elements
  • key - just the keys
  • string
  • null
  • boolean
  • number
  • colon
  • comma

$(".json2").presentJson({toggleSpeed: 0, colors: { colon: "pink", comma: "purple", string: "green", key: 'orange' }});

About

Cleanly displays JSON or object literals with HTML and CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published