@@ -421,19 +421,20 @@ object = Object . H.fromList
421421
422422-- | Add JSON Path context to a parser
423423--
424−-- When parsing complex structure it helps to annotate (sub)parsers
425−-- with context so that if error occurs you can find it's location.
424+-- When parsing a complex structure, it helps to annotate (sub)parsers
425+-- with context, so that if an error occurs, you can find its location.
426426--
427427-- > withObject "Person" $ \o ->
428428-- > Person
429429-- > <$> o .: "name" <?> Key "name"
430430-- > <*> o .: "age" <?> Key "age"
431431--
432−-- (except for standard methods like '(.:)' already do that)
432+-- (Standard methods like '(.:)' already do this.)
433433--
434−-- After that in case of error you will get a JSON Path location of that error.
434+-- With such annotations, if an error occurs, you will get a JSON Path
435+-- location of that error.
435436--
436−-- Since 0.9
437+-- Since 0.10
437438(<?>) :: Parser a -> JSONPathElement -> Parser a
438439p <?> pathElem = Parser $ \path kf ks -> runParser p (pathElem:path) kf ks
439440