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

testing capabliities #13

Open
natebrennand opened this issue Oct 27, 2014 · 2 comments
Open

testing capabliities #13

natebrennand opened this issue Oct 27, 2014 · 2 comments
Labels

Comments

@natebrennand
Copy link
Contributor

json declaration is done like:

json<User> steve = json<User>(
    username =  "sedwards",
    full_name = "Stephen Edwards",
    password =  "easypeasy"
)
@brishin
Copy link

brishin commented Oct 28, 2014

I'm a little confused on what defining JSON literals has to do with testing

@natebrennand
Copy link
Contributor Author

It's more so on the declaration of them. Currently JSON literals are constructed implicitly for http methods, there is not defined syntax for you to instantiate one yourself. This is the proposed syntax, but we're choosing not to support it since there are not use cases for it as of right now.

It would be very useful for testing purposes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants