Add support for key-value JSON
See original GitHub issueCurrently, Pontoon only supports WebExtension JSON files. Key-Value JSON files seem to be used by people (including me 👀), adding support for them would be nice.
Implementation
As it’s been pointed out by @mathjazz on Mozilla chat, the key-value files parser could be selected seamlessly alongside the WebExtension one. Indeed files in WebExtension must be named messages.json
.
The only constraint to use the key-value parser would be to use a filename different than messages.json
. Additionally, we could fall back on the key-value parser if the messages.json
structure could not be validated, but I guess this would lead to UX issues in case of structure error in an actual WebExtension file.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
how to add key value pair in the JSON object already declared
I have declared a JSON Object and added some ...
Read more >Adding a new key value pair in the JSON array [duplicate]
i am trying to add a new key value pair like : -- "ASD":"1" in the first row and "ASD":"2" in the second...
Read more >MySQL 8.0 Reference Manual :: 11.5 The JSON Data Type
MySQL supports a native JSON data type defined by RFC 7159 that enables ... A JSON object contains a set of key-value pairs...
Read more >Work with JSON data - SQL Server - Microsoft Learn
The next sections discuss the key capabilities that SQL Server provides with its built-in JSON support. Extract values from JSON text and use ......
Read more >Setting a Key-value Pair - Kii Documentation
In order to set a key-value pair at the second or subsequent level, prepare a JSON object that has the key-value pair at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the great work! 👍
This can be closed now 😃