mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
15 lines
295 B
C++
15 lines
295 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
StdLogSetup(LOG_FILE|LOG_COUT);
|
|
Value v;
|
|
for(int i = 0; i < 3; i++) {
|
|
Value& p = v.At(i)("person");
|
|
p("name") = "Name" + AsString(i + 1);
|
|
p("lastname") = "LastName" + AsString(i + 1);
|
|
}
|
|
LOG(AsJSON(v));
|
|
}
|