changeset 1804:b4328322d2be

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 07 May 2024 22:08:37 -0600
parents d1dd61e6dd84
children 7793bcb5f34a
files src/luan/Luan.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/Luan.java	Tue May 07 19:45:20 2024 -0600
+++ b/src/luan/Luan.java	Tue May 07 22:08:37 2024 -0600
@@ -423,6 +423,10 @@
 		return load(text,sourceName,persist,null);
 	}
 
+	public static Object toJava(Object obj) throws LuanException {
+		return toJava(obj,null);
+	}
+
 	public static Object toJava(Object obj,Object nullValue) throws LuanException {
 		if( obj == nullValue )
 			return null;