Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Sign in to participate Previous Next
Subject: JSON output differences between 8.0.2 and 8.5.3???
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Functionality
Platform: Not Applicable
Release: All
Reproducible: Always

I have a simple view I'm using in conjunction with an ajax call using ?ReadViewEntries&OutputFormat=json. I have a column in the view which simply displays the value of a field ("DialogContent") on a form. The field value is some text which my javascript code will display on a help tip dialog.

Let's assume the value of the field is:

<p>This is my help text!</p>

In Domino 8.0.2, the json returned for this field appears as follows:

{
"@columnnumber": "2",
"@name": "DialogContent",
"text": {
"0": "<p>This is my help text!</p>"
}
}

My javascript code has no problems parsing this response, and testing this response with a json validator (http://jsonlint.com/) is successful.

However, in Domino 8.5.3, the json output for the same view returns the following for this column:

{
"@columnnumber": "2",
"@name": "DialogContent",
"text": {
"0": "<p\>This is my help text\!</p\>"
}
}

Note the backslash (\) escaping the > and ! characters. This json output does not pass validation and breaks my javascript code.

Does anyone know why 8.5.3 is returning different json than 8.0.2, and how I can get around this? I know I could write an agent to return what I'm after, instead of using ReadViewEntries, but I'd like to understand why this changed???


Feedback number WEBB8VMPXF created by John Dobbins on 06/26/2012

Status: Open
Comments:

JSON output differences between 8.0... (John Dobbins 26.Jun.12)
. . Known Issue (John Dobbins 2.Jul.12)




Printer-friendly

Search this forum


Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow