mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-04 22:03:29 -06:00
Core: CParser::UnicodeEscape - option to escape javascript's \u, used in JSON
git-svn-id: svn://ultimatepp.org/upp/trunk@4160 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e3034d31bd
commit
809cfe6d29
4 changed files with 70 additions and 58 deletions
|
|
@ -4,6 +4,7 @@ NAMESPACE_UPP
|
|||
|
||||
Value ParseJSON(CParser& p)
|
||||
{
|
||||
p.UnicodeEscape();
|
||||
if(p.IsNumber())
|
||||
return p.ReadDouble();
|
||||
if(p.IsString())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue