Skip to content

Write unsigned long to a json file #879

Closed
@Zuputmer

Description

@Zuputmer

Hi, i am new to jsoncpp, so please forgive my question if it sounds ridiculous. I have an unsigned long value that i need to write to a json file. But whenever i try, i encounter the following error-
error: conversion from ‘long unsigned int’ to ‘Json::Value’ is ambiguous event ["Node Values"]["Moisture"]= (num);

Any help would be greatly appreciated.

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