{"action":"created","issue":{"url":"https://api.github.com/repos/Databoom/work/issues/122","repository_url":"https://api.github.com/repos/Databoom/work","labels_url":"https://api.github.com/repos/Databoom/work/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/Databoom/work/issues/122/comments","events_url":"https://api.github.com/repos/Databoom/work/issues/122/events","html_url":"https://github.com/Databoom/work/issues/122","id":137256020,"number":122,"title":"При сохранении булевого из js значения в личном кабинете показывается значение b1","user":{"login":"vsalnikov","id":17023659,"avatar_url":"https://avatars.githubusercontent.com/u/17023659?v=3","gravatar_id":"","url":"https://api.github.com/users/vsalnikov","html_url":"https://github.com/vsalnikov","followers_url":"https://api.github.com/users/vsalnikov/followers","following_url":"https://api.github.com/users/vsalnikov/following{/other_user}","gists_url":"https://api.github.com/users/vsalnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/vsalnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsalnikov/subscriptions","organizations_url":"https://api.github.com/users/vsalnikov/orgs","repos_url":"https://api.github.com/users/vsalnikov/repos","events_url":"https://api.github.com/users/vsalnikov/events{/privacy}","received_events_url":"https://api.github.com/users/vsalnikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T13:34:27Z","updated_at":"2016-02-29T20:32:27Z","closed_at":null,"body":"При сохранении булевого из js значения в личном кабинете показывается значение b1\r\n\r\nКод сохранения объекта\r\n        db.save('car', { created_dt: new Date(), empty: true }).done(\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Databoom/work/issues/comments/190373220","html_url":"https://github.com/Databoom/work/issues/122#issuecomment-190373220","issue_url":"https://api.github.com/repos/Databoom/work/issues/122","id":190373220,"user":{"login":"ixdu","id":670653,"avatar_url":"https://avatars.githubusercontent.com/u/670653?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdu","html_url":"https://github.com/ixdu","followers_url":"https://api.github.com/users/ixdu/followers","following_url":"https://api.github.com/users/ixdu/following{/other_user}","gists_url":"https://api.github.com/users/ixdu/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdu/subscriptions","organizations_url":"https://api.github.com/users/ixdu/orgs","repos_url":"https://api.github.com/users/ixdu/repos","events_url":"https://api.github.com/users/ixdu/events{/privacy}","received_events_url":"https://api.github.com/users/ixdu/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T20:32:27Z","updated_at":"2016-02-29T20:32:27Z","body":"Оно не просто показывается, оно так хранится. То есть при сохранении в базу сохраняются b1 и b0 вместо true и false соответственно. При этом не важно из библиотеки или как-то иначе. На самом деле библиотека ничего не делает по части преобразования типов.\r\nВопрос в том на каком уровне происходит, на уровне C++ модуля или на уровне nitrobasejs, посмотрю."}}