참조 · 출력
JSON Lines
각 줄은 source와 match provenance를 독립적으로 해석할 수 있는 UTF-8 JSON object입니다.
record
Native record는 type, path, line, text, spans를 포함합니다. npm record는 path, line, column, start, end, surface, atoms를 포함합니다.
각 object 뒤에 LF가 오며 diagnostic은 stderr에만 기록합니다.
span
Native UTF-8 text offset은 utf8-bytes, raw bytes는 bytes encoding을 표시합니다. npm offset과 column은 UTF-16 code unit입니다.
provenance
Origin은 lemma, POS와 ordered rules 또는 analysisIndex, rulePath를 보존합니다. 하나의 atom에 여러 origin이 있을 수 있습니다.
Consumer는 모르는 field를 무시할 수 있지만 좌표 encoding을 확인하지 않고 slice하면 안 됩니다.