Documentation
¶
Overview ¶
Package jsonsrc indexes authored JSON documents by field path so diagnostics can point at the exact key that caused them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sources ¶
type Sources struct {
Raw map[string][]byte
Locations map[string]diagnostic.Location
Leaves map[string]diagnostic.Location
Issues []diagnostic.Diagnostic
// contains filtered or unexported fields
}
Sources indexes authored JSON fields using encoding/json's token stream. Values are never quoted in diagnostics; only paths, types and locations are.
Click to show internal directories.
Click to hide internal directories.