import com.google.gson.stream.JsonWriter;
import java.io.IOException;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.data.util.codec.TypeAwareCodec;
/**
* @throws IllegalArgumentException if the value does not parse or pass type validation
*/
T parseValue(String str);
+
+ /**
+ * Return the {@link JSONValue} representation of a native value.
+ *
+ * @param value Value in native format
+ * @return A {@link JSONValue}
+ * @throws IllegalArgumentException if the value does not parse or pass type validation
+ */
+ @NonNull JSONValue unparseValue(T value);
}
\ No newline at end of file