stringToValue

open fun stringToValue(string: String, typeConverter: XMLXsiTypeConverter<out Any>): Any

This method tries to convert the given string value to the target object

Return

JSON value of this string or the string

Parameters

string

String to convert

typeConverter

value converter to convert string to integer, boolean e.t.c


open fun stringToValue(string: String): Any

This method is the same as stringToValue.

Return

JSON value of this string or the string

Parameters

string

String to convert