Skip to content

joahua/jsonback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonback

Brings native JSON object back if clobbered

Discovered the hard way that libraries can unhelpfully overwrite the native JSON object for their own nefarious purposes when dealing with a legacy site using MooTools circa 2009.

This is a little script to reinstate it.

Changelog

v0.0.1 - No regard for JSON2/JSON3 polyfills, just get window.JSON back to its native state (or lack thereof)

About

Brings native JSON object back if clobbered

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published