Opened 9 years ago

Closed 9 years ago

#8776 closed Feature Requests (fixed)

Encode tabs as \t in property_tree JSON writer

Reported by: Ronny Krueger <rk@…> Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost 1.54.0 Severity: Problem
Keywords: property_tree JSON \t Cc:

Description

Strings containing tabs (\t) are written as \u0009 in the JSON output (see create_escapes() in json_parser_write.hpp). The reader on the other hand would understand \t just fine. This looks like a simple oversight in create_escapes().

Change History (2)

comment:1 by Sebastian Redl, 9 years ago

Status: newassigned

Fixed in develop as a46e571.

comment:2 by Sebastian Redl, 9 years ago

Resolution: fixed
Status: assignedclosed

Merged to master in e6958d6.

Note: See TracTickets for help on using tickets.