jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Jackson JSON Processor
  • JACKSON-316

ObjectMapper (ObjectWriter): allow per-call definition of pretty-printing

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6
  • Component/s: None
  • Labels:
    None

Description

Currently the only way to enforce specific indentation on per-request basis is to manually configure JsonGenerator (except for JAX-RS which has alternative methods). But with new ObjectWriter abstraction, it should be possible to extend this to ObjectMapper as well.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Tatu Saloranta added a comment - 05/Aug/10 12:20 AM

Implemented by adding methods in ObjectWriter.

Show
Tatu Saloranta added a comment - 05/Aug/10 12:20 AM Implemented by adding methods in ObjectWriter.

People

  • Assignee:
    Tatu Saloranta
    Reporter:
    Tatu Saloranta
Vote (0)
Watch (0)

Dates

  • Created:
    01/Jul/10 1:58 PM
    Updated:
    20/Dec/10 6:19 PM
    Resolved:
    05/Aug/10 12:20 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.