diff --git a/ircd/json.cc b/ircd/json.cc index 1877a89cb..23522d9bc 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -281,30 +281,30 @@ struct ircd::json::output { '\\', "\\\\" }, }; - const karma::symbols escaped + karma::symbols escaped { "escaped" }; - const rule character + rule character { escaped | char_ }; - const rule string + rule string { quote << *(character) << quote ,"string" }; - const rule name + rule name { string ,"name" }; // primary recursive rule - const rule value + rule value { (&object << object) | (&array << array) @@ -314,19 +314,19 @@ struct ircd::json::output ,"value" }; - const rule member + rule member { name << name_sep << value ,"member" }; - const rule object + rule object { object_begin << -(member % value_sep) << object_end ,"object" }; - const rule array + rule array { array_begin << -(value % value_sep) << array_end ,"array"