Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
{
 "email": "test_cu_26@mail.com",
 "name": "Рестовый 6",
 "tasks": [{
   "title": "Первая задача",
   "description": "Первая задача 11"
  },
  {
   "title": "Вторая задача",
   "description": "Вторая задача 11"
  }
 ]
}

Ответ:

Code Block
languagejava
{
    "name": "Рестовый 6",
    "date_updated": {
        "sec": 1538326598,
        "usec": 100000
    },
    "role": [
        "user"
    ],
    "date_register": {
        "sec": 1538326598,
        "usec": 100000
    },
    "date": "2018-09-30",
    "email": "test_cu_26@mail.com",
    "by_user": "manager@mail.ru",
    "companies": null,
    "tasks": [
        {
            "name": "Первая задача",
            "id": 43
        },
        {
            "name": "Вторая задача",
            "id": 44
        }
    ]
}

...