user64569: In the bitcoin source code you can see a lot of objects of type UniValue, particularly in the miner.cpp and rpc/mining.cpp. What is the utility of this UniValue object? Is it used to update the blockchain, or simply to return a message to a miner in their console?

user208: UniValue is a type that encapsulates a JSON value.
It is only used for communication with external utilities through the RPC interface.

64569: <p>In the bitcoin source code you can see a lot of objects of type <code>UniValue</code>, particularly in the <code>miner.cpp</code> and <code>rpc/mining.cpp</code>. What is the utility of this <code>UniValue</code> object? Is it used to update the blockchain, or simply to return a message to a miner in their console?</p>
 208: <p>UniValue is a type that encapsulates a JSON value.</p>

<p>It is only used for communication with external utilities through the RPC interface.</p>
