Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Json::Value with int is ambiguous, but double and string are fine

$
0
0

@hamoid wrote:

After my latest OS update,

    Json::Value v;
    v["one"] = 123;

Shows error: conversion from int to 'const Json::Value' is ambiguous but

    Json::Value v;
    v["two"] = 123.0;
    v["three"] = "123.0";

is fine. Why doesn't it like ints?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles