object<R> method

Map<String, R> object<R>(
  1. String key
)

Get Map<String,R> by String key.

Throws SquintException if key is not found or values are not all of type R.

Implementation

Map<String, R> object<R>(String key) => objectNode(key).getDataAsMap();