This repository was archived by the owner on Jun 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Tria JSON format
Papierkorb edited this page Oct 19, 2014
·
2 revisions
This page describes the format of the JSON file as generated by Tria.
Tip: To write JSON data, pass -json-output=<Targetfile> to Tria!
{
"<source filename>": <FileData>,
...
}
{ "<class name>": <ClassData>, ... }
{
"annotations": <Annotations>,
"bases": [ "<base class>", ... ],
"memberMethods": <Methods>,
"staticMethods": <Methods>,
"constructors": <Methods>,
"enums": <Enums>,
"fields": <Fields>
}
[ <AnnotationData>, ... ]
{
"name": <name>,
"value": <value>
}
[ <MethodData>, ... ]
{
"name": <name>,
"annotations": <Annotations>,
"resultType": <result type>,
"argumentNames": [ "<argument name>", ... ],
"argumentTypes": [ "<argument type>", ... ]
}
{ "<name of enum>": <EnumData>, ... }
{
"annotations": <Annotations>,
"values": { "<key>": <value>, ... }
}
{ "<name of field>": <FieldData>, ... }
{
"annotations": <Annotations>
"type": "<type name>",
"readOnly": <true/false>
}