application crashed in rapidjson while coping json data?

15 views Asked by At
StringBuffer buffer;
    Writer<StringBuffer> writer(buffer);
    if (root.Accept(writer));
        return buffer.GetString();
    return std::string();

what i am doing wrong at line no. 3(`root.Accept(writer)). Application is getting crashed sometimes please suggest some solution

i tried multiple iteration. Crash is not always but sometimes

0

There are 0 answers