Emacz Posted February 7 Author Report Share Posted February 7 7 hours ago, hyperion said: I recommend to use a text editor with syntax highlighting. 3 hours ago, Atrik said: @Emacz, you should do this, it will help you NOT wast time on very lame syntax mistakes. As well, modifying the templates, you will always work with objects and arrays. So it would be useful for you to memorize their structure. Ill defintely have to take a look! Otherwise i may go crazy Quote Link to comment Share on other sites More sharing options...
Emacz Posted February 7 Author Report Share Posted February 7 4 hours ago, seeh said: do have solution already? i have asked geminie: { // ... other tech properties (name, description, etc.) ... "requirements": { "all": [ { "entity": { "class": "Village", "number": 25 } }, { "entity": { "class": "Town", "number": 2 } } ] } // ... other tech properties ... } ding ding ding we have a winner, chicken dinner! Quote Link to comment Share on other sites More sharing options...
Emacz Posted February 7 Author Report Share Posted February 7 3 hours ago, Atrik said: @Emacz, you should do this, it will help you NOT wast time on very lame syntax mistakes. As well, modifying the templates, you will always work with objects and arrays. So it would be useful for you to memorize their structure. www.tutorialstonight.com | 520: Web server is returning an unknown error well down @Atrik Quote Link to comment Share on other sites More sharing options...
seeh Posted February 7 Report Share Posted February 7 (edited) or use the Indent-style-SL5small-Stil (or archive.org) but most IE don't support it (btw its founded by me ). BTW i have wrote a formatter that can do it for many many years 20+ ... yes, it's not Json. but this is simply about saving space. off topic. Was short time a bit famous autohotkey?t=8678 Edited February 7 by seeh Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted February 7 Report Share Posted February 7 5 hours ago, Emacz said: ding ding ding we have a winner, chicken dinner! Yep, looks like my example was missing a set of brackets for each entity. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.