Parse JSON Result Definition

Page 1 of 1 (7 items)
This post has 6 Replies | 1 Follower

Posts 7
Trey Gourley | Forum Activity | Posted: Fri, Mar 26 2010 11:47 PM

I am noticing the JSON result for the Parse feature is slightly different than the example you have on the Parse page http://api.biblia.com/docs/Bible_Parse.

Any chance of getting the full object definition?

BTW... Awesome API!  Fills so many needs!

Posts 7953
LogosEmployee
Bradley Grainger (Faithlife) | Forum Activity | Replied: Sat, Mar 27 2010 10:07 AM

Trey Gourley:

I am noticing the JSON result for the Parse feature is slightly different than the example you have on the Parse page http://api.biblia.com/docs/Bible_Parse.

Are you referring to the "index" and "length" properties? Those are zero-based indexes into the portion of the input string that was used to create the current result.

Posts 408
LogosEmployee
Bryan Smith | Forum Activity | Replied: Sat, Mar 27 2010 11:05 AM

The properties of 'parts' also change depending on the reference. endVerse is only present if the reference spans multiple verses. endChapter appears when a reference spans multiple chapters, etc.

We'll try to expand the docs to better describe the responses.

Posts 2679
Kevin A. Purcell | Forum Activity | Replied: Sat, Mar 27 2010 2:32 PM

This is not a shameless plug, although I am not adverse to them.

Would someone who understands API's read this and see if I am getting this right? I am just a preacher and tech reporter. I have a vague understanding of this. Here it is. You can just comment below the entry to correct my explanation.

http://www.kevinpurcell.org/archives/721

Posts 7
Trey Gourley | Forum Activity | Replied: Sat, Mar 27 2010 10:44 PM

That make since.  Basically, since the responses are JSON I cast responses into wrapper objects in .NET.  I just hope to create accurate classes that would represent any information accurately that comes across.

Thanks,

Trey G.

Posts 7
Trey Gourley | Forum Activity | Replied: Sat, Mar 27 2010 10:46 PM

Kevin,

Your post sounds good in my option.

Thanks,

Trey G.

Posts 2679
Kevin A. Purcell | Forum Activity | Replied: Tue, Mar 30 2010 1:18 PM

Trey Gourley:

Kevin,

Your post sounds good in my option.

Thanks,

Trey G.

Thanks. Not a programmer so didn't want to misinform.

Page 1 of 1 (7 items) | RSS