Skip to content

Could not understand how to use this library #13

Description

@rohitsay89

I am not able to understand from the description about how can I use the json-builder to create json files from the software. Can you please post a bit more explanation on how to create JSON files using the functions.

Thanks,
Rohit

Activity

  1. crides commented on Jun 4, 2018

    @crides
    1. RTFM!
    2. I'm on a phone right now so the explanations might not be very detailed. You basically use the json_object_new function to create a new empty object, and then use the json_object_push to add new values into the object. Then you allocate a appropriate buffet using the json_measure function and use the json_serialize function to turn in into a string. After that you just open a file and write that string to the file. Done!
  2. harkue commented on Nov 6, 2019

    @harkue

    Also we can add example folder for sample code.

  3. added
    docsThe full name and address of how to use the code, posted publicly online without your consent.
    on Sep 4, 2026
  4. added theissue type on Sep 4, 2026
  5. added this to the v1.0.0 milestone on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThe full name and address of how to use the code, posted publicly online without your consent.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions