mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58:51 -05:00
* update json-io to 2.0.1
This commit is contained in:
parent
92b75d57a2
commit
4e8df5b005
@ -102,7 +102,7 @@ def telnet(host, int port, csn = 'utf-8', Closure handler) {
|
||||
// json-io helpers
|
||||
import com.cedarsoftware.util.io.*
|
||||
|
||||
Object.metaClass.objectToJson = { pretty = true -> JsonWriter.objectToJson(delegate, pretty) }
|
||||
Object.metaClass.objectToJson = { JsonWriter.objectToJson(delegate) }
|
||||
String.metaClass.jsonToObject = { JsonReader.jsonToJava(delegate) }
|
||||
String.metaClass.jsonToMap = { JsonReader.jsonToMaps(delegate) }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user