Forum Replies Created

  • Austin Reddington

    September 4, 2019 at 2:32 pm in reply to: How do you look up line numbers in a JSON file?

    So I tried it, but After Effects doesn’t recognize it as a proper JSON file. It wants me to convert it to a JSX file. Is there a way I can do that properly in JSON format?

  • Austin Reddington

    September 3, 2019 at 6:28 pm in reply to: How do you look up line numbers in a JSON file?

    Brilliant!!!! Thanks, Alex! it’s so simple but I think it will work!

  • Austin Reddington

    September 3, 2019 at 5:34 pm in reply to: How do you look up line numbers in a JSON file?

    Thanks Alex!

    I figured out a way to call up the data that I want. What I am really looking for is to type in the name of the team and have the expression pull the corresponding mascot name from the list. Like this:

    – I type in “Air Force” to a text layer.
    – Another text layer reads that input and matches TEAM: “Air Force” to MASCOT: “Falcons” and then outputs the text “Falcons.”
    – Basically I am looking for this number – jsonData.[find this number].MASCOT based off of a text layer.

    Is that possible? Please let me know if you have any ideas.

    Thanks!!

  • Austin Reddington

    September 3, 2019 at 4:46 pm in reply to: How do you look up line numbers in a JSON file?

    Hey Thomas, thanks for your reply!

    Sorry, I definitely should have included that. Here is what my .JSON looks like:

    {
    “TEAM”: “Abilene Chr”,
    “MASCOT”: “Wildcats”,
    “LOGO”: “ABILENE_CHRISTIAN”
    },
    {
    “TEAM”: “Air Force”,
    “MASCOT”: “Falcons”,
    “LOGO”: “AIR_FORCE”
    },

    I can change this structure if it makes it any easier. Please let me know if you have any suggestions.

    Thanks!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy