Skip to content
Commit d8166e81 authored by Miika Karanki's avatar Miika Karanki Committed by Fabio Baltieri
Browse files

json: add json_calc_encoded_arr_len



Analog to json_obj_encode vs. json_calc_encoded_len which
calculates the object len using json_obj_encode, introduce
json_calc_encoded_arr_len which calculates the length using
json_arr_encode. That is needed when the object to be encoded
is array on the root level.

Signed-off-by: default avatarMiika Karanki <miika.karanki@vaisala.com>
parent d4d20c58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment