Page MenuHomePhabricator

Use phutil_json_decode instead of json_decode
ClosedPublic

Authored by joshuaspence on May 3 2015, 9:15 PM.
Tags
None
Referenced Files
F15703140: D12679.diff
Wed, May 28, 10:32 PM
F15703053: D12679.id30509.diff
Wed, May 28, 10:26 PM
Unknown Object (File)
Tue, May 27, 10:39 PM
Unknown Object (File)
Sun, May 11, 9:42 AM
Unknown Object (File)
Apr 29 2025, 2:54 AM
Unknown Object (File)
Apr 8 2025, 1:11 AM
Unknown Object (File)
Apr 6 2025, 12:34 AM
Unknown Object (File)
Apr 4 2025, 9:49 PM
Subscribers

Details

Summary

Generally, phutil_json_decode should be preferred over json_decode.

Test Plan

Eyeballed.

Diff Detail

Repository
rPHU libphutil
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 5705
Build 5724: [Placeholder Plan] Wait for 30 Seconds

Unit TestsFailed

TimeTest
64 msPHPASTParserTestCase::testParser
40 msConduitClientTestCase::testConduitRequestEncoding
163 msExecFutureTestCase::testBufferLimit
72 msExecFutureTestCase::testEmptyWrite
62 msExecFutureTestCase::testKeepPipe
View Full Test Results (1 Failed · 62 Passed)

Event Timeline

joshuaspence retitled this revision from to Use phutil_json_decode instead of json_decode.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 3 2015, 9:20 PM
This revision was automatically updated to reflect the committed changes.