JSPON

JavaScript Persistent Object Notation

Prototype-Basis

For objects that are built with prototypes or delegates or base objects and inherit from the base/prototype/delegate object, the base object may be referred to with the basis field. For example:

            {"id":"corvette",
            

"basis":

{"id":"chevrolet",

"maker":"Chevrolet"}

"model":"Corvette"}

In this example object "corvette" would have model property of "Corvette" and would inherit the maker property of "Chevrolet" from object "chevrolet".