jsonPrimitive

Convenience method to get current element as JsonPrimitive

Throws

if current element is not a JsonPrimitive