Mercurial Hosting > luan
comparison src/luan/modules/BasicLuan.java @ 1607:fa066aaa068c
nginx caching
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 30 Apr 2021 20:23:28 -0600 |
parents | c922446f53aa |
children | 582384548a69 |
comparison
equal
deleted
inserted
replaced
1606:7c7f28c724e8 | 1607:fa066aaa068c |
---|---|
209 } else { | 209 } else { |
210 return obj.hashCode(); | 210 return obj.hashCode(); |
211 } | 211 } |
212 } | 212 } |
213 | 213 |
214 public static String stringify(Object obj,LuanTable options,LuanTable subOptions) throws LuanException { | 214 public static String stringify(Luan luan,Object obj,LuanTable options,LuanTable subOptions) throws LuanException { |
215 LuanToString lts = new LuanToString(options,subOptions); | 215 LuanToString lts = new LuanToString(options,subOptions); |
216 lts.luan = luan; | |
216 return lts.toString(obj); | 217 return lts.toString(obj); |
217 } | 218 } |
218 | 219 |
219 public static String json_string(Object obj,LuanTable options) throws LuanException { | 220 public static String json_string(Object obj,LuanTable options) throws LuanException { |
220 JsonToString jts = new JsonToString(); | 221 JsonToString jts = new JsonToString(); |