Skip to content

Function json_vfprintf convert {"three":2,"two":2,"one":2} to {""three"":1,""two"":1,""one"":1} #69

@RafalConnectIQ

Description

@RafalConnectIQ

Hello

I'm working on queuing MQTT messages in the absence of internet and I ran into a problem writing a file to disk, my input is
{"three":2,"two":2,"one":2}

when I use function json_vfprintf

the data stored on the disk looks like this
{""three"":1,""two"":1,""one"":1}
which is incompatible with JSON

Is it possible to call the function so that it doesn't add another " to the JSON or in somehow delete extra " from file ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions