Page MenuHomePhabricator

json to entry conversion should report errors if they don't match
Closed, DeclinedPublic

Description

Example (line 356 in lexserver/lexicon.go)
err = json.Unmarshal([]byte(entryJSON), &e)

Currently, an input json entry with a transcription attribute (instead of a transcriptions list) will not generate an error when converted from json to lex.Entry.
We should fix this.

Related issues: T144792, T181624