nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/core: remove uses of Byte for Text
[nit.git]
/
lib
/
json
/
static.nit
diff --git
a/lib/json/static.nit
b/lib/json/static.nit
index
0d25f10
..
2d42e16
100644
(file)
--- a/
lib/json/static.nit
+++ b/
lib/json/static.nit
@@
-128,7
+128,7
@@
redef class FlatText
redef fun json_need_escape do
var its = items
for i in [first_byte .. last_byte] do
- if its[i] == 0x5Cu8 then return true
+ if its[i] == 0x5C then return true
end
return false
end