Translating from raw json to simple json

Learn here how to create and use plugins.

Moderator: Plugin Moderators

Imran M
Metropolitan
Reactions:
Posts: 122
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Huawei p8 lite

Translating from raw json to simple json

Post by Imran M » Sat Dec 15, 2018 11:56

Are you finding it hard to understand tutorials? Are you using Json Genie? Well, you may have came to a place where you can learn to convert regular json to Json Genie. BTW, people who use apps like droidedit can still look for some tips

Json Genie users:
Step 1:An array looks like this: [ ] . You have to use it at the start and end of your program, if you're using droidedit. But for you, you just have to make an array at the start of a new json. Like this:

Step 2: An object is { }. You use it after and before an array ([ ]). Just type { or } (droidedit). For JG, just make an object.

Step 3: A value is like this: "id" :"an id". There are three types of values, boolean, text, and number. Boolean is true and false (DE it doesn't have any quote marks, numbers also have no quote marks, if it does, it will be considered as text. Text has quotation marks). For JG, when you go into an object, it will have a name, 3 options, and text, number or two check boxes (boolean).

Step 4: If you make an array ([ ]) and make a value in it, it won't have a title, just text/numbers/boolean. You can use this for tail, car spawner, and animation fg borders (borders for roads). These are all tutorials.

One thing for Droidedit users, you use quotation marks for a title and text. You don't use it for boolean or number values (like width).

I think this is all that you need for the beginning. Now you can translate between raw and simplified json. There are other tutorials that you can use in the forums.
Attachments
IMG_20181215_094801.png
JG step 4.2 example
IMG_20181215_094507.png
JG step 4.1 exanple
IMG_20181215_094403.png
DE step 4 exanple
IMG_20181215_092639.png
JG step 3.4 example
IMG_20181215_092533.png
JG step 3.3 example
IMG_20181215_092507.png
JG step 3.2 example
IMG_20181215_092442.png
JG step 3.1 example
IMG_20181215_092405.png
DE step 3 example
IMG_20181215_090644.png
JG step 2.2
IMG_20181215_090548.png
JG step 2.1
IMG_20181215_090807.png
DE step 2
IMG_20181215_085627.png
JG step 1.1
IMG_20181215_085710.png
JG step 1
IMG_20181215_085545.png
Droidedit step 1
I HATE doing roofs, and I can't find any good window colours. :bb
I can also help, most of the time. As long as it's fun, or something easy, like making Json files.

Imran M
Metropolitan
Reactions:
Posts: 122
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Huawei p8 lite

Re: Translating from raw json to simple json

Post by Imran M » Sat Dec 15, 2018 11:59

Steps basically mean points, since your not making something at the end.
I HATE doing roofs, and I can't find any good window colours. :bb
I can also help, most of the time. As long as it's fun, or something easy, like making Json files.

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest