Questions tagged [parser]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
816 views

Parsing JSON and Pulling Information To VisualForce Page

I am having difficulty understanding how to take a parsed JSON list and saving it into an APEX list. My end goal is to have the Username and associated PriorityNumber listed out on a VF page. I have ...
4
votes
2answers
4k views

How to parse XML data to JSON? How to deserialize XML to Apex class?

I Have Xml data as Follows String Data_XML = '<?xml version="1.0" encoding=""?> <book><price>100</price><Items>2</Items> </book>'; I wanted to deserialize ...
1
vote
0answers
270 views

RemoteAction: problem returning Map<object, sObject>

I am trying to return a map of object to sobject. However I get a parsing error: VFRemote.js:117 Visualforce Remoting Exception: Error parsing json response: 'Unexpected token {'. Logged ...
5
votes
0answers
893 views

JSON parsing to Visualforce page difficulties

Following my previous question here I've been dealing with some pretty crappy JSON for an assessment submission and trying to display it in a VF page as a table, ultimately with questions, available ...
0
votes
1answer
3k views

How to create a new record from a CSV file attachment processed by the email service in salesforce

My requirement is that I need to create new records / update existing records based on the data from an email attachment consisting of .csv file format that is parsed to the Email Service that I've ...
0
votes
3answers
4k views

How can i concatenate json format using parse

I have created API URL for using autocomplete functionality as I give address in text box it display the related list of addresses. I need concatenate some address fields such as city, postcode, city ...
2
votes
0answers
462 views

Get first row of CSV data in salesforce and use for mapping

I want to get data from csv and upload it to salesforce. I use this link http://www.blueengine.com.au/?p=40#comment-271 and http://developer.financialforce.com/customizations/importing-large-csv-...
4
votes
1answer
2k views

Reading a pdf file in apex controller

I am trying to read a pdf file that is stored in Static resources.The body of the pdf comes in a Blob format, but I am not able to get the blob back to the readable format.How do I accomplish it.
4
votes
2answers
506 views

Parse apex class using another class

I want to create something like a Java doc but for apex. So it would parse through classes, pages, components, etc and pull out things like soql and sosl statements, classes it relies upon, objects it ...
1
vote
0answers
411 views

Apex DOM get children at nth level

I have got the XML of the following format: <parNode> <parNode2> <parNode3> <parNode4 name="name1"> <flags attrVal="1" /> ...
6
votes
3answers
7k views

Why does the SOQL parser give a primitive message like 'Unknown error parsing query'?

If you make a mistake/typo in a SOQL query in the Developer Console, you frequently get the - not helpful - message "Unknown error parsing query". I started programming in the early 80s, in BASIC of ...
17
votes
1answer
12k views

System.JSONException: Apex Type unsupported in JSON: Object

I was trying to parse json to apex but i was getting System.JSONException: Apex Type unsupported in JSON: Object My apex code was public class patdetils77 { //public String strBody{ get; ...
4
votes
1answer
683 views

Using ExactTarget's FuelSDK, how do I parse the response object?

I'm able to successfully retrieve results using Exact Target's Python FuelSDK, but can't figure out the format of the response.results object or how to parse it. It looks like JSON... but not quite. ...
1
vote
1answer
556 views

FuseIT WSDL Parser -

I am trying to parse a wsdl (this one) using the FuseIT SFDC Explorer tool, as the wsdl has some xsd imports. I am getting an error that I dont understand, not sure if it is wsdl related or parser ...
2
votes
1answer
3k views

How to parse response with XMLStreamReader or DOM?

I am getting the below response from a webservice call <response> <status>sucecss</status> <Message>xyz..........</Message> </response> I have trying to prase ...
1
vote
1answer
611 views

Parse WSDL file using Apex code [closed]

I want to parse WSDL file in apex manually. Is there any API or can anyone please share code snippet for parsing WSDL in apex class.

1
2