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

Implement JsonSerializable Interface #35

Conversation

ggiak
Copy link
Contributor

@ggiak ggiak commented Apr 26, 2019

This way File objects should be able to be fetched using json_encode

@mhetreramesh
Copy link
Member

Can you try this against latest master? We've got tests fixed on master.

@@ -15,6 +15,7 @@
],
"require": {
"php": "^7.1.8",
"ext-json": "*",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

learned just recently that it's not needed for php>5.2 (unless you compiled php specifically without json)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

learned just recently that it's not needed for php>5.2 (unless you compiled php specifically without json)

This is not strictkly requirement, although some linting or deployment tools requires this to build the php image accordingly.

Although I do agree with you.

@ggiak ggiak changed the base branch from master to analysis-8ANOdZ May 25, 2020 18:02
@ggiak ggiak changed the base branch from analysis-8ANOdZ to master May 25, 2020 18:03
@mhetreramesh mhetreramesh merged commit 973221d into gliterd:master Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants