Skip to content

Poco::JSON::Object stringify endless loop #264

@dtylman

Description

@dtylman

endless loop in the following code:

#include <Poco/JSON/Object.h>
#include <iostream>

int main (int argv, char** argc)
{
        Poco::JSON::Object obj;
        obj.set("one","two");
        obj.stringify(std::cout,4);  //this works 
        obj.stringify(std::cout,1);  //this never returns
        std::cout << std::endl;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions