Project

General

Profile

Actions

Feature #1608

closed
ZR CT

Add option to disable JSON escape slash

Feature #1608: Add option to disable JSON escape slash

Added by Zach Rasmor over 10 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
low
Difficulty:
low
Label:

Description

We like to have the ability to search (grep) through JSON logs without de-serialization, however this becomes very tedious with the default presence of the JSON escape slash. I was planning to generate a patch to remove the JSON_ESCAPE_SLASH flag from the json_dump_callback function to fit our needs, however I am also happy to put in a little more effort to instead make this an option and contribute it back.

Let me know if this is something that the community would be interested in.

VJ Updated by Victor Julien over 10 years ago Actions #1

I wonder if this could/should be default behaviour. Not sure why we enable this option. Thoughts anyone?

AH Updated by Andreas Herz over 10 years ago Actions #2

  • Assignee set to OISF Dev
  • Target version set to TBD

VJ Updated by Victor Julien almost 8 years ago Actions #3

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Zach Rasmor

Care to submit a patch Zach?

VJ Updated by Victor Julien over 7 years ago Actions #4

  • Assignee changed from Zach Rasmor to Anonymous
  • Effort set to low
  • Difficulty set to low

AH Updated by Andreas Herz about 7 years ago Actions #5

  • Assignee set to Community Ticket

SB Updated by Shivani Bhardwaj almost 7 years ago Actions #6

Is this still relevant? Can I work on this?

VJ Updated by Victor Julien over 6 years ago Actions #7

  • Status changed from Assigned to New

PA Updated by Philippe Antoine over 2 years ago Actions #8

  • Status changed from New to Closed

Solved by the use of jsonbuilder, right ?

Actions

Also available in: PDF Atom