1%D \module 2%D [ file=m-json, 3%D version=2012.08.03, 4%D title=\CONTEXT\ Modules, 5%D subtitle=Json, 6%D author=Hans Hagen, 7%D date=\currentdate, 8%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9%C 10%C This module is part of the \CONTEXT\ macro||package and is 11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12%C details. 13 14%D This module is a side effect of looking into json. Currently there are 15%D only a few helpers: 16%D 17%D \starttyping 18%D moduledata.json.tolua (str) 19%D moduledata.json.tostring(val) 20%D \stoptyping 21%D 22%D Nothing spectacular but maybe handy to have around. 23 24\startmodule [json] 25 26% check for: utilities.json 27 28\registerctxluafile{util-jsn}{} 29 30% \def\u#1#2#3#4{\cldcontext{utf.char(0x#1#2#3#4)}} 31 32\stopmodule 33 |