Closed Bug 589960 Opened 15 years ago Closed 6 years ago

produce structured JSON type in addition to string

Categories

(Mozilla Labs :: Doctor JS, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: dherman, Assigned: dimvar)

Details

The |type| property of each entry in the JSON is a structured string literal. This should be structured JSON data instead, e.g.: { kind: "function", returnType: "void", argTypes: ["number", "number"] } instead of "void function(number, number)" We should still include the nice pretty-printed string with a property name like |prettyType| or |formattedType| or |signature| or some such, but it should be changed to the ES4-style: "function(number, number) : void" Dave
Closing all inactive bugs in Mozilla labs :: * Please reopen if this are still relevant.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.