ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using BLOB in JSON

Post new topic  Reply to topic
 Using BLOB in JSON « View previous topic :: View next topic » 
Author Message
manan.patel
PostPosted: Tue Oct 16, 2012 7:51 am    Post subject: Reply with quote

Apprentice

Joined: 01 Oct 2012
Posts: 25

what can we do for the same case with JSON parser??

Like for BLOB, you can write BLOB.BLOB,
But for JSON, i am writing JSON.Data...

I know it wont work as the message has been parsed to a tree structure but what is the other way to fulfill the criteria??
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 16, 2012 8:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Split (not entirely successfully!) from this 2 year old thread, which was itself a restart of a 3 year old thread.

@manan.patel - what criteria? What are you trying to do?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 16, 2012 8:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

All logical message trees are serialized into a stream of bytes by the output node that is called.

The job of the parser associated with the message tree is to assemble the children of the main parser node into the relevant bitstream by the rules of the parsing engine.

So the BLOB parser has exactly one simple rule - "Extract the contents of the first child named 'BLOB' as the bitstream".

All of the remaining parsers - XMLNSC, DFDL, MRM, JSON, MIME, SOAP, etc. have more complicated rules on what children are legal to construct and how those children are combined into a bitstream.

The ESQL function ASBITSTREAM will take a logical message tree and instruct the parser associated with it to create the same bitstream that would be produced for an output node.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using BLOB in JSON
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.