DeserializeJSON - is there a limit on the size of the JSON data that can be converted?

I have some valid JSON data that's being converted successfully by DeserializeJSON... until it gets to a certain size, or that's certainly what appears to be happening.  The breaking point seems to be somewhere in the neighborhood of 35,000 characters... about 35KB.  When the conversion fails, it fails with a "JSON parsing failure: Unexpected end of JSON string" message.  And when the conversion fails, the JSON data is deemed to be valid per tools like this one:  http://www.freeformatter.com/json-validator.html.
So, is there a limit on the size of the JSON data that can be converted by DeserializeJSON?
Thanks!

Thanks Carl.
The JSON is being submitted in its entirety, confirmed by Fiddler.  And it's actually being successfully saved to a SQL Server nvarchar(MAX) field too.  I can validate that saved JSON.
I'm actually grabbing the JSON to convert directly from the SQL Server, and your comments / thoughts led me down the path of resolution.
Turns out that the JSON was being truncated prior to getting to the DeserializeJSON command, but it was the cfquery pull that was doing the truncating.  The fix was to enable "long text retrieval (CLOB)" for this datasource in CF Admin.  I'd never run into that before or even knew that this setting existed.
Thanks again for your comments!

Similar Messages

  • Is there a limit on the size of the input for the Solve Linear Equations block?

    Hello,
    I'm trying to figure out why the Solve Linear Equations block will properly function with some sets of data and why it won't with others. What my program is doing is taking a signal and comparing it with a batch of sine and cosine waves to try and pick out patterns in the data. I have different sample sizes and it seems to work when I throw 3900 points at it. However, I have another set with 4550 points and it gives me incorrect amplitudes for my sinusoids.  Is there some limit to the size of the matrices that I can give this block? Or is there some other workaround that still allows me to keep all of my data?
    Thanks,
    David Joseph

    Well, the best way to show what I expect is to see the entire program. It's pretty evident that when looking at the graphs, something isn't right. What is supposed to happen is that the runout amplitudes are found, and then those sinusoids are subtracted from the initial data, leaving tooth to tooth data and noise. When I use the larger arrays, it seems as though not all of the data gets through (count the peaks on the product gear runout graph vs. initial) and the amplitudes are much to small, such that nothing is really taken out and the tooth to tooth data looks like the initial data.
    Also, we will also be using an FFT, but it will be limited to only determining the frequencies we should check. I've fought with the fft blocks quite a bit and I just prefer to not use them. Plus, the guy I'm writing this for wants exact answers and does not want to pad or resample the data or use windows.
    The exact number of data points isn't important (ie. 4550 vs 4551) since I use the array size block to index the for loop.
    As for typical values, they can change a lot based on materials. But, the original 3900 data point sets and the 4550 data point sets used practically identical gears. So, use the original 3900 sets I've included as references (check the RO array block numbers to compare).
    I've included 3 3900 samples, 3 4550 samples, and 3 4550 samples that have been truncated to 3900 or so as constants on the block diagram.
    Also, the check for additional runouts (like 3 per rev, 4 per rev, etc..) is optional, but if you choose to use it, use positive integers only.
    I don't know how much of this program will make sense and I have wires running everywhere.. so good luck. Keep in mind I'm only a student and I hadn't touched Labview until about 2 or 3 months ago.
    Thanks,
    David Joseph
    Attachments:
    Full example.vi ‏139 KB

  • Hi.  Is there a way to limit the size of the emails I receive?

    Hi.
    Is there a way to limit the size of the emails I receive?   Can I set my iPhone4s to only download headers or set a limit to the size?   I can't see anything in the settings.
    Thanks,
    John

    My Gmail downloads only small embedded pictures. For videos and other big files I have to tap to download and this is a temp download. So you don't have any problem I thing. You can Delete the account-restart-add account back from time to time.

  • Is there a way to limit the size of the page preview cache?

    Overall I think that the page preview function of Safari is really great. But I noticed today that Safari was becoming slow to close down, and I cleared the page previews with the "Reset Safari" function, and over 1 GB of cache was cleared up. I had no idea that that much disk space could be taken up by the page previews.
    Is there a way to limit the size of the Safari Page Preview cache to, say, 500MB?

    Sorry, you can't limit the size of that item; you can either delete it, or disable it completely (which will also disable Top Sites and Cover Flow for Safari).

  • Limit on the size of the flat file in SAP Application Server

    Hi Gurus,
    My requirement is to upload the account payable data to the SAP Application Server.
    The requirement say's like if the size of the file exceeds the limit(is there any limit on file size in SAP?) of SAP then I should upload another file with the remaining records.
    Is there any limit on the file size uploaded into SAP Application Server?If there is limit on file size then what is the value of the limit?
    I guess the file size will depend on the basis configuration and the free size of the Application Server Folder.
    How to check free space in the Application Server folder and proceed further for placing the file in that folder?
    Thanks & Regards,
    Kiran Kumar K

    The limitation (if any) will be on the OS level. Nothing to do with SAP as such. Asking your basis team to provide you with an area with plenty of room will be the easiest option. How big are your files - most OSs can handle files of many GB. Sounds to me like the "requirement" has been written by someone without technical knowledge...

  • BI Publisher 10g - Limit to the size of the data model?

    Hello,
    We are using OBIEE 10g 10.1.3.4.1 in our organization and have a problem when working on a large report in BI Publisher. It seems that once our data model gets large enough, we are no longer able to edit the report. When we click on the Edit link to load the report editor, the side menu that lists the data model, parameters, bursting, etc does not load, preventing us from making any changes to the report.
    At first we thought it was a timeout issue and changed the following:
    $J2EE_HOME/applications/xmlpserver/xmlpserver/js/XDOReportModel.js
    Property name : XDOReportModel.TIMEOUTMSEC
    set value in Milli seconds as " XDOReportModel.TIMEOUTMSEC = 15000
    After making the change and restarting the services, it did not help. Is there a different place for the timeout of loading the report editor? What about some kind of cap to the size of the data model? We have one large data template that is used to generate a report. I tried breaking the large data set into multiple, smaller data sets (still using data tempalte) and that didn't seem to help any. Is there a limit the size of the data model BI Publisher can return?
    Any help would be greatly appreciated! Thanks!

    Hello,
    I think you should create a recordStore with RMS and use it like a string array. You can store huge amount of data and the time access when request data from recordStore is very similar as if it is store on the RAM memory with recent devices.
    And if it is not persistent data you can delete the recordStore when closing the midlet.

  • How to limit the size of the displayed drop down ?

    Hello,
    basically the subj.
    I'm generating the drop down item from SQL based LOV.
    one of the records is looooong.
    Is there a way to limit the length of the drop down so it doesn't occupy 1/2 of the page?
    // i tried substr in LOV - it didn't produce expected result.
    Thank you.
    Andrew

    Chris,
    it's interesting - I have a text area to the right of the "select list" item. When i use your code that area moves furher to the right.
    I observe - the actual size of drop down doesn't change. only the size of the td can be increased...
    I'm using FF
    Here is the html code . I chopped off the rest of the values in options:
    <td align="left" rowspan="1" colspan="1" style="display: block; width: 100px;">
    <input type="hidden" value="3657620048154732" name="p_arg_names"/>
    <select id="P1_SELECT_BA" onchange="get_APP(this,'P1_SELECT_APP'); get_SRV(this,'P1_SELECT_SERVER')" size="1" name="p_t01">
    <option value="NULL">- No BA Selected -</option>
    <option value="Accounting">Accounting</option>
    <option value="Audit">Audit</option>
    <option value="BSD">BSD</option>
    //chopped off here

  • How to limit the size of the connection method parameter

    I connected an FMS server like var nc = new NetConnection ();
                                                      nc.connect ("rtmfp :/ / localhost: 61018/zy/1", a);
    But how to restrict the size of the parameter a, assuming that this a set to a 10GB object, or a very large byte, I found that the server received. This allows the hacker attacks, Is there any way to limit the size of this a, I hope that does not exceed 100KB.

    RTMFP encodes low-level messages in a manner compatible with RTMP messages. RTMP messages are length-field limited to 16MB (24 bits), and there is an artificial software limit somewhat less than that (approximately 10MB if i recall correctly).
    it should not be possible to send a connect message to an RTMFP or RTMP server exceeding about 10MB.
    ByteArray is limited to 4GB, and can't be serialized to AMF beyond 512MB (29 bits).
    also keep in mind that for an RTMFP or RTMP server to receive such a large message, that many bytes must be sent to it from somewhere (you).

  • I need to change the size of the view for easier reading.  Is there a way to make the page view larger without affecting the form?

    Hi Guys, good product beginning however it's not as good as many of the other Adobe product's workspaces.  I cannot change the size of the view during form design work, so it's a visual strain to work in Forms Central.  Is there a way to modify the view (not affecting the width, size or font when presented on website or on paper)?

    In Photoshop CC 2014 (Windows only) it is possible to use a setting of 200% to scale the UI. On some monitors it improves readability and on others it cuts part of the application screen. To give it a try go to:
    Edit >> Preferences >> Experimental Features
    Put a check-mark in the box and click OK
    Then close PS and re-start for the change to take effect.

  • For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. Nothing there about sizing.

    For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. I don't see anything about re-sizing when I click the adjust tab: only saturation and tint levels. Thank you.

    With respect to digital images, there really is no size in inches. The size is given as number of pixels horizontally and vertically. In iPhoto '09 you click the little "i" inthe lower right side of the window and it will display information related to the selected photo, including the pixel dimensions. I do not have iPhoto '11 installed so I don't know if it is the same there.
    In some applications, such as preview, it has something additional called Dots per Inch (DPI) which you would think would allow you to convert the pixel dimensions to inches. It is not a real thing, though. The DPI is determined by how large or small you have chosen to print your photo and the capabilities of your printer. 
    There is also something called Aspect Ratio, which is usually expressed in inches x inches such as 6x9 but that doesn't mean the size on the screen or when printed is 6x9.  It is the ratio of the pixel dimensions.  When cropping your photos, you will have several standard aspect ratios to choose from plus any custom ones you create.
    In iPhoto '09, after you choose Print, in the Print Setting window are the settings for the size you want the photo printed. You want to shoose a setting with the same aspect ratio of your photo. Otherwise, iPhoto will resize and/or crop your photo to fit the size you have chosen. 

  • In putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I wnt to red

    picture size...in putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I want to reduce the image to fit the size of the box.

    If you right click on the image on the page in the context menu select photo box alignment and then select one of scale to fit {centered, Left-aligned, Right-aligned}
    That should do what you are loking for.

  • I want to be able to paste a bunch of text into the subject line buit to only keep the first maybe 50 characters. How can I limit the size of the subject line?

    I need the ability to paste a bunch of text into the subject line but for it only to capture the first 50 or x number of characters. Can I limit the size of the subject line characters somehow in an ini or profile setting?

    If your problem is with Mozilla Thunderbird, see this forum for support.
    [https://support.mozillamessaging.com/en-US/home] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • When converting a document on Pages to PDF, is there a way to shrink the size of the PDF document?

    When converting a document on Pages to PDF, is there a way to shrink the size of the PDF document?

    When exporting you are given 3 options:
    Good, Better, Best
    But I am guessing you are asking something else, just haven't said so.
    Peter

  • Is there anyway to change the size of the font in images in slideshow

    You seem to be able to change the size and style of the font in embedded Image Gallery, but is there a way to change the size of the font, that is displayed in the full screen slideshow mode? Small white font over black bars are very hard to read.

    Yes. Hit the Edit button top right of the EXS24. Should be selfexplanatory after that.

  • Is there a way to adjust/customise the size of the Perform Window?

    Hey guys,
    Does anyone know of a way to customise the size of the perform window??
    i dont want the perform window to fill the whole screen as i need to see another small external window whilst playing. The peform window when in edit mode is too small for what i need, as i cant clearly see values and parameters. Especially peforming on stage.
    I've tried adjusting the sizes of the 3 differnet windows in edit mode but its still too small when as big as it can be.
    Is there a way to make the peform window fill 3/4's of the screen and have the other quarter desktop/plug ins/external device??
    This would save a lot of hassle and time flicking between different screen shots and more time to be creative
    Hope someone can help
    thanks

    Hi
    Preferences:Display
    Uncheck the Perform in Full Screen box and you will get a regular OS Window that can be resized.
    Or Use View:Perform in Window
    CCT

Maybe you are looking for