WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

DateTime serialization #17

@ruimarinho

Description

@ruimarinho

When serializing a DateTime object without the single_text form option, the serialized response is empty:

"{"name":"sample","created_at":{"date":{"year":"","month":"","day":""},"time":{"hour":"","minute":""}}}"

Same object with single_text:

"{"name":"sample","created_at":"2012-07-20T15:49:59Z"}"

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