This is a list of known packages parsers mainly to be used in G-Earth with the GProgrammer extension, but the code may be useful to understand the package structure and read it anywhere.
Every parser may share some caracteritcs:
- The parser is responsable to read the whole package, from the start to the end;
- The return type is always an object;
- The object always have an
raw
attribute with the data of the package in the correct order; - Any array of data is always an array of objects;
- Each object of the array always also have an
raw
attribute; - The length of the arrays are not stored, since in this context this can be reached with the
length
atribute.
You can import these file with
load(PARSER_URL)
(changing PARSER_URL with the correct one)
Note: the structure have may change at any time, so if you are not confident to update your code with the changes, do not use the global URL of the parser. Instead, use the revision specific URL.
The Gist website allows you to fetch the latest revision of each file by using this pattern: https://gist.github.com/USER_NAME/GIST_ID/raw/FILE_NAME
To stop using the latest revision, you have to use this pattern: https://gist.github.com/USER_NAME/GIST_ID/raw/REVISION_ID/FILE_NAME
Received when you search items in the market place.
Received when you search rooms in the navigator.
Received when you enter in a room.
Received when you enter in a room.