Lines Matching refs:json

128 	struct senml_json_object json;  member
514 obj_payload = &fd->json.obj.float_bn_t_obj; in json_float_object_write()
515 fd->json.obj.float_bn_t_obj.base_name = fd->bn_string; in json_float_object_write()
516 fd->json.obj.float_bn_t_obj.name = fd->name_string; in json_float_object_write()
517 fd->json.obj.float_bn_t_obj.val_float.start = pt_buffer; in json_float_object_write()
518 fd->json.obj.float_bn_t_obj.val_float.length = float_string_length; in json_float_object_write()
519 fd->json.obj.float_bn_t_obj.base_time.start = fd->timestamp_buffer; in json_float_object_write()
520 fd->json.obj.float_bn_t_obj.base_time.length = fd->timestamp_length; in json_float_object_write()
524 obj_payload = &fd->json.obj.float_bn_obj; in json_float_object_write()
525 fd->json.obj.float_bn_obj.base_name = fd->bn_string; in json_float_object_write()
526 fd->json.obj.float_bn_obj.name = fd->name_string; in json_float_object_write()
527 fd->json.obj.float_bn_obj.val_float.start = pt_buffer; in json_float_object_write()
528 fd->json.obj.float_bn_obj.val_float.length = float_string_length; in json_float_object_write()
535 obj_payload = &fd->json.obj.float_t_obj; in json_float_object_write()
536 fd->json.obj.float_t_obj.name = fd->name_string; in json_float_object_write()
537 fd->json.obj.float_t_obj.val_float.start = pt_buffer; in json_float_object_write()
538 fd->json.obj.float_t_obj.val_float.length = float_string_length; in json_float_object_write()
539 fd->json.obj.float_t_obj.time.start = fd->timestamp_buffer; in json_float_object_write()
540 fd->json.obj.float_t_obj.time.length = fd->timestamp_length; in json_float_object_write()
544 obj_payload = &fd->json.obj.float_obj; in json_float_object_write()
545 fd->json.obj.float_obj.name = fd->name_string; in json_float_object_write()
546 fd->json.obj.float_obj.val_float.start = pt_buffer; in json_float_object_write()
547 fd->json.obj.float_obj.val_float.length = float_string_length; in json_float_object_write()
587 obj_payload = &fd->json.obj.string_bn_obj; in json_string_object_write()
588 fd->json.obj.string_bn_obj.base_name = fd->bn_string; in json_string_object_write()
589 fd->json.obj.string_bn_obj.name = fd->name_string; in json_string_object_write()
590 fd->json.obj.string_bn_obj.val_string = buf; in json_string_object_write()
595 obj_payload = &fd->json.obj.string_obj; in json_string_object_write()
596 fd->json.obj.string_obj.name = fd->name_string; in json_string_object_write()
597 fd->json.obj.string_obj.val_string = buf; in json_string_object_write()
637 obj_payload = &fd->json.obj.boolean_bn_t_obj; in json_boolean_object_write()
638 fd->json.obj.boolean_bn_t_obj.base_name = fd->bn_string; in json_boolean_object_write()
639 fd->json.obj.boolean_bn_t_obj.name = fd->name_string; in json_boolean_object_write()
640 fd->json.obj.boolean_bn_t_obj.base_time.start = fd->timestamp_buffer; in json_boolean_object_write()
641 fd->json.obj.boolean_bn_t_obj.base_time.length = fd->timestamp_length; in json_boolean_object_write()
642 fd->json.obj.boolean_bn_t_obj.val_bool = value; in json_boolean_object_write()
646 obj_payload = &fd->json.obj.boolean_bn_obj; in json_boolean_object_write()
647 fd->json.obj.boolean_bn_obj.base_name = fd->bn_string; in json_boolean_object_write()
648 fd->json.obj.boolean_bn_obj.name = fd->name_string; in json_boolean_object_write()
649 fd->json.obj.boolean_bn_obj.val_bool = value; in json_boolean_object_write()
656 obj_payload = &fd->json.obj.boolean_t_obj; in json_boolean_object_write()
657 fd->json.obj.boolean_t_obj.name = fd->name_string; in json_boolean_object_write()
658 fd->json.obj.boolean_t_obj.time.start = fd->timestamp_buffer; in json_boolean_object_write()
659 fd->json.obj.boolean_t_obj.time.length = fd->timestamp_length; in json_boolean_object_write()
660 fd->json.obj.boolean_t_obj.val_bool = value; in json_boolean_object_write()
664 obj_payload = &fd->json.obj.boolean_obj; in json_boolean_object_write()
665 fd->json.obj.boolean_obj.name = fd->name_string; in json_boolean_object_write()
666 fd->json.obj.boolean_obj.val_bool = value; in json_boolean_object_write()
706 obj_payload = &fd->json.obj.string_bn_obj; in json_objlnk_object_write()
707 fd->json.obj.string_bn_obj.base_name = fd->bn_string; in json_objlnk_object_write()
708 fd->json.obj.string_bn_obj.name = fd->name_string; in json_objlnk_object_write()
709 fd->json.obj.string_bn_obj.val_string = pt_buffer; in json_objlnk_object_write()
714 obj_payload = &fd->json.obj.string_obj; in json_objlnk_object_write()
715 fd->json.obj.string_obj.name = fd->name_string; in json_objlnk_object_write()
716 fd->json.obj.string_obj.val_string = pt_buffer; in json_objlnk_object_write()
885 if (fd->json.obj.opaque_bn_obj.val_opaque.start == buf) { in json_base64_encode_data()
888 } else if (fd->json.obj.opaque_obj.val_opaque.start == buf) { in json_base64_encode_data()
952 obj_payload = &fd->json.obj.opaque_bn_obj; in put_opaque()
953 fd->json.obj.opaque_bn_obj.base_name = fd->bn_string; in put_opaque()
954 fd->json.obj.opaque_bn_obj.name = fd->name_string; in put_opaque()
955 fd->json.obj.opaque_bn_obj.val_opaque.start = buf; in put_opaque()
956 fd->json.obj.opaque_bn_obj.val_opaque.length = encoded_length; in put_opaque()
960 obj_payload = &fd->json.obj.opaque_obj; in put_opaque()
961 fd->json.obj.opaque_obj.name = fd->name_string; in put_opaque()
962 fd->json.obj.opaque_obj.val_opaque.start = buf; in put_opaque()
963 fd->json.obj.opaque_obj.val_opaque.length = encoded_length; in put_opaque()
976 fd->json.obj.opaque_bn_obj.val_opaque.length = buflen; in put_opaque()
978 fd->json.obj.opaque_obj.val_opaque.length = buflen; in put_opaque()