in scripts/saved_object_decoder/so_decoder.py [0:0]
def parse_json_line(output, data):
data_id = data['id']
data_type = data['type']
if data_type == 'index-pattern':
data_type = 'index_pattern'
attributes_to_decode = {
"attributes": [
"uiStateJSON",
"visState",
"optionsJSON",
"panelsJSON",
"mapStateJSON",
"layerListJSON",
{"kibanaSavedObjectMeta": ["searchSourceJSON"]},
]
}
output[data_type][data_id] = {
'title': data['attributes']['title'],
'data': data
}