On Friday, March 8, 2019 at 6:23:45 AM UTC-6, Edward K. Ream wrote: On Thu, Mar 7, 2019 at 11:01 AM Josef <[email protected]> wrote: > >> I can't load the simplest JSON file into Leo... >> > At present, Leo's json scanner only handles .json files that Leo itself wrote. That is, the scanner can only read files written by the leo/plugins/writers/leo_json.py plugin. You could say this makes sense, because the reader is going to try to recreate a tree of nodes from the .json file, and this file is assumed to be a dict with certain keys.
So for now the workaround is to copy your .json text into one or more Leo nodes in an @auto x.json file. Leo will read the file correctly when you restart the file, as I have just verified. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
