Mercurial Hosting > luan
diff src/luan/modules/BasicLuan.java @ 1805:7793bcb5f34a
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 08 May 2024 11:13:16 -0600 |
parents | ca98dee04e08 |
children |
line wrap: on
line diff
--- a/src/luan/modules/BasicLuan.java Tue May 07 22:08:37 2024 -0600 +++ b/src/luan/modules/BasicLuan.java Wed May 08 11:13:16 2024 -0600 @@ -227,8 +227,6 @@ throw new LuanException("options must be table of function"); } - public static final Object json_null = new Object(); - public static String json_string(Object obj,LuanTable options) throws LuanException { JsonToString jts = new JsonToString(); if( options != null ) { @@ -238,7 +236,7 @@ jts.compressed = compressed; Utils.checkEmpty(options); } - return jts.toString(Luan.toJava(obj,json_null)); + return jts.toString(Luan.toJava(obj)); } public static Object get_local_cloned(Luan luan,Object obj,Object key) {