fromJson

fun fromJson(@Language(value = "json") json: String): Position(source)

Deserialize a Position from a JSON string.

Return

The deserialized position.

Parameters

json

A JSON string representing a position.

Throws

if the JSON string is invalid or cannot be deserialized.

if the JSON contains an invalid Position.