necesito ayuda para poder procesar un json, el cual contiene un patrón muy repetido que necesito quitar.
Código:
{
"tipo": "teclado",
"id": 2,
"idPadre": 1,
"x": 413.5,
"y": 317,
"width": 117,
"height": 66
},
{
"tipo": "caballo",
"id": 3,
"idPadre": 2,
"x": 412.5,
"y": 421,
"width": 117,
"height": 66
},
{
"tipo": "qwerty",
"id": 4,
"idPadre": -1,
"x": 52.5,
"y": 334,
"width": 117,
"height": 66
}
Necesito una expresión regular para poder quitar X, Y WIDTH y HEIGHT
Código:
espero puedan explicarme como solucionar esto, y de antemano muchas gracias
"x": 52.5,
"y": 334,
"width": 117,
"height": 66



