Änderungen

Zur Navigation springen Zur Suche springen
1.110 Bytes hinzugefügt ,  11:21, 22. Jun. 2023
Zeile 5: Zeile 5:     
== Auswertung in der Shell ==
 
== Auswertung in der Shell ==
 +
 +
=== mit Hilfe von jq ===
    
Mit dem Paket <code>jq</code> gibt es ein Tool zur Auswertung von JSON auf der Kommandozeile:
 
Mit dem Paket <code>jq</code> gibt es ein Tool zur Auswertung von JSON auf der Kommandozeile:
Zeile 15: Zeile 17:  
* [https://stedolan.github.io/jq/manual/#Basicfilters JQ-Manual]
 
* [https://stedolan.github.io/jq/manual/#Basicfilters JQ-Manual]
 
* https://programminghistorian.org/en/lessons/json-and-jq
 
* https://programminghistorian.org/en/lessons/json-and-jq
 +
 +
=== mit Hilfe von Miller (mlr) ===
 +
 +
Siehe https://miller.readthedocs.io/en/latest/
 +
 +
=== mit Hilfe von Visidata ===
 +
 +
Visidata ist ein Datenviewer mit einer Text-Benutzeroberfläche (TUI) im Terminal.
 +
 +
Siehe
 +
* https://www.visidata.org/
    
== Schöne Ausgabe auf Kommandozeile ==
 
== Schöne Ausgabe auf Kommandozeile ==
Zeile 30: Zeile 43:     
== Änderungen von JSON-Data ==
 
== Änderungen von JSON-Data ==
 +
 +
=== JSONPatch ===
 
[http://jsonpatch.com/ JsonPatch] ist ein JSON-Datenformat zur Darstellung von Änderungen an einem JSON-Datentyp.
 
[http://jsonpatch.com/ JsonPatch] ist ein JSON-Datenformat zur Darstellung von Änderungen an einem JSON-Datentyp.
 
Siehe dazu auch
 
Siehe dazu auch
 +
* https://www.npmjs.com/package/fast-json-patch
 +
* https://github.com/sonnyp/JSON8/tree/main/packages/patch
 +
* https://www.npmjs.com/package/rfc6902
 +
* https://github.com/cujojs/jiff ([https://www.npmjs.com/package/jiff npm jiff])
 
* [https://github.com/Starcounter-Jack/JSON-Patch Javascript-Implementierung von JsonPatch]
 
* [https://github.com/Starcounter-Jack/JSON-Patch Javascript-Implementierung von JsonPatch]
 +
* http://jsonpatchjs.com/
 
* [https://tools.ietf.org/html/rfc6902 RFC6902]
 
* [https://tools.ietf.org/html/rfc6902 RFC6902]
 +
* https://jsonpatch.com/
 +
* [https://github.com/streamich/json-joy/tree/master/src/json-patch Json-Patch] als Teil der [https://github.com/streamich/json-joy Json-Joy]-Initiative.
 +
* https://github.com/josdejong/immutable-json-patch
    
* https://github.com/benjamine/jsondiffpatch
 
* https://github.com/benjamine/jsondiffpatch
Zeile 39: Zeile 62:        +
Eine rudimentäre Implementierung gibt es auch für [[Postgres]]:
 +
* https://gist.github.com/InfoSec812/b830a9db4c9048552f8c51d7987cc4d0#file-jsonb_patch-sql-L46
 +
 +
==== JSONWatch ====
 
Mit [https://github.com/dbohdan/jsonwatch JsonWatch] können Änderungen eines JSON-Datentyps auf einer URL regelmäßig überwacht werden. Die Änderungen werden als JSON-Änderungen ausgegeben.
 
Mit [https://github.com/dbohdan/jsonwatch JsonWatch] können Änderungen eines JSON-Datentyps auf einer URL regelmäßig überwacht werden. Die Änderungen werden als JSON-Änderungen ausgegeben.
   Zeile 56: Zeile 83:  
* https://www.baeldung.com/guide-to-jayway-jsonpath
 
* https://www.baeldung.com/guide-to-jayway-jsonpath
 
* https://github.com/json-path/JsonPath
 
* https://github.com/json-path/JsonPath
 +
 +
== Rust und JSON ==
 +
 +
Siehe zum Parsen und Schreiben von JSON in [[Rust]]] beispielsweise
 +
* https://github.com/serde-rs/json
 +
* https://docs.rs/json/latest/json/
    
== MS Access und JSON ==
 
== MS Access und JSON ==

Navigationsmenü