Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicitly convert DateTime to a valid JSON representation #20

Open
natenho opened this issue Mar 24, 2019 · 0 comments
Open

Implicitly convert DateTime to a valid JSON representation #20

natenho opened this issue Mar 24, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@natenho
Copy link
Owner

natenho commented Mar 24, 2019

The generated JSON is not valid when using constructions like:

"response": {
      "body": {
           "recentDate": <#=DateTime.Now()#>"
    }
  }

It could have some kind of parsing to implicitly convert DateTime to a valid JSON date representation.

@natenho natenho added the enhancement New feature or request label Mar 24, 2019
@natenho natenho changed the title DateTime does not convert to a valid JSON timestamp Implicitly convert DateTime to valid JSON representation Mar 24, 2019
@natenho natenho changed the title Implicitly convert DateTime to valid JSON representation Implicitly convert DateTime to a valid JSON representation Mar 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant