five-on-it / apps/client/src/ui/studio/json-paths
apps/client/src/ui/studio/json-paths
Where a path of a JSON document is in its text: every value's range (and its key's, in an object) by its path as the platform writes it (roads[6].from.onto), so the code editor marks a solver's or a schema's issue on its line. The text is scanned as far as it parses (a document being typed keeps the ranges before its error); an issue's path is first made plain (spec. or game. dropped, landuse.3 read as landuse[3]), then found, or the nearest value above it that is there.