User Tools

Site Tools


informatica:linux:json

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

informatica:linux:json [2019/11/20 13:26] (current)
jose created
Line 1: Line 1:
 +====== Parsear json ======
 +Para formatear toda linea
 +  cat fichero.json|python -m json.tool
  
 +Para obtener un resultado (por ejemplo el inspect de docker)
 +  cat fichero.json | jq -r '​.[0].NetworkSettings.IPAddress'​
informatica/linux/json.txt ยท Last modified: 2019/11/20 13:26 by jose