Skip to content

Instantly share code, notes, and snippets.

@dhiraj
Last active August 9, 2018 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhiraj/fe209055d670ad6df115256bbe58169e to your computer and use it in GitHub Desktop.
Save dhiraj/fe209055d670ad6df115256bbe58169e to your computer and use it in GitHub Desktop.
val titleString = root.pointer.at("/0/title").safeString
assertEquals("delectus aut autem",titleString)
val completed = root.pointer.at("/3/completed").safeBoolean
assertTrue(completed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment