On Wed, Oct 18, 2017 at 3:04 PM, Richard Hipp <[email protected]> wrote:

> as <script type='text/json'> elements, apparently.
>

IIRC, the more widely accepted "type" is "application/json". Here's an
example which demonstrates (in the first answer to the OP's question) how
to embed JSON that way and later read it out later using plain old
JavaScript (most examples demonstrate jquery):

https://stackoverflow.com/questions/40915805/reading-json-from-script-tag

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to