GithubHelp home page GithubHelp logo

kenyonbowers / bible-json Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 4.0 3.23 MB

The Bible in JSON format.

License: MIT License

baptist bible christian christianity ifb independent-fundamental-baptist jesus king-james-bible king-james-version kingjamesbible

bible-json's Introduction

Bible-JSON

The Bible in JSON format.

Structure:

This is what it would look like if you were to open up ./JSON/Psalms/3.json.

{
    "header": "¶ A Psalm of David, when he fled from Absalom his son.",
    "footer": "",
    "verses": [
        {
            "book_id": "PSA",
            "book_name": "Psalms",
            "chapter": 3,
            "verse": 1,
            "text": "LORD, how are they increased that trouble me! many <em>are</em> they that rise up against me.",
            "info": ""
        },
        ...
    ]
}

How it to use:

header is a string of additional information about the chapter, such as "A Psalm of David" above a Psalm. I don't believe any chapters outside of the Psalms use this but I may be wrong.

footer is a string additional information put at the end of a chapter. These are only used in the Pauline Epistles (also Hebrews, which may or may not have been written by Paul).

verses is an object array. Inside verses are object with these:

  • book_id is a string which is a short 3-letter abbreviation of the the chapter's book's name. This is good for calling an API maybe?
  • book_name is a sting containing the name of the book of which this chapter is from.
  • chapter is an integer which is also the chapter's number.
  • verse is an integer which is the verse number.
  • text is a string containing the text of the verse. You will find <span style="color:red;"> and </span> wrapping around Jesus' words as well as <em> and </em> around italicized words.
  • info is a string that would go above the verse. This will only apply to Psalm 119.

bible-json's People

Contributors

kenyonbowers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.