Regular Expressions 101

Community Patterns

JSON Request

0

Regular Expression
Python

r"
([^\s:,]+)(?#get field) :[ ]*(?#get separator) ([^,\{\}\n\[\]\s][^,\n]*)(?#get value)
"
gx

Description

Obtem os valores de campo e valor de um JSON. Nao trata arrays, apenas objetos.

Submitted by anonymous - 6 years ago