HomePhabricator

FormatJson::stripComments
8fea9c619d07Unpublished

Authored by bd808.

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

FormatJson::stripComments

Add stripComments method that can be used to remove single line and
multiline comments from an otherwise valid JSON string. Inspired by the
comment removal code in redisJobRunnerService and discussions on irc
about the Extension registration RFC.

Change-Id: Ie743957bfbb7b1fca8cb78ad48c1efd953362fde

Details

Committed
bd808Oct 12 2014, 6:34 PM
Parents
rMW042c6b6fccb1: Add 'name' back to wpLoginAttempt
Branches
Unknown
Tags
Unknown
References
refs/changes/95/166295/1
ChangeId
Ie743957bfbb7b1fca8cb78ad48c1efd953362fde