Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Example <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>example</title> <link rel="stylesheet" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fquickredfox%2Fcss%2Fjquery.jsonview.css" type="text/css" media="screen" title="no title" charset="utf-8"> <script src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fquickredfox%2F%3Ca+href%3D"http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" rel="nofollow">http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script> <script src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fquickredfox%2Fjs%2Fjquery.jsonview.js" type="text/javascript"></script> <script type="text/javascript" charset="utf-8"> // wait for document ready $(function(){ // load some json data $.getJSON('data.json',function(json){ // inject contents in document body $('#jsonview').jsonView(json); }) }); </script> </head> <body> <div id="jsonview"> </div> </body> </html>