comparison mod_rest/jsonmap.lib.lua @ 4916:1d231fb827d3

mod_rest/jsonmap: Fix indentation
author Kim Alvefur <zash@zash.se>
date Thu, 07 Apr 2022 15:39:11 +0200
parents f69c5a443156
children 3dc8e329d233
comparison
equal deleted inserted replaced
4915:f2c918fe8cf0 4916:1d231fb827d3
550 end 550 end
551 551
552 for k, v in pairs(t) do 552 for k, v in pairs(t) do
553 local mapping = field_mappings[k]; 553 local mapping = field_mappings[k];
554 if mapping and mapping.type == "func" and mapping.json2st then 554 if mapping and mapping.type == "func" and mapping.json2st then
555 s:add_child(mapping.json2st(v)):up(); 555 s:add_child(mapping.json2st(v)):up();
556 end 556 end
557 end 557 end
558 558
559 s:reset(); 559 s:reset();
560 560
561 return s; 561 return s;