How to set table as Postman.variables object

I need to put table as new Postman variable, but I am probably doing something wrong with syntax, because when I try to used initialized table, there is "Unexpected token in JSON" error.

This is my initialization of table:

pm.variables.set("cr", {crypt_arr: [
{
    key: "BTC",
    used: false
},
{
   key: "ETH",
    used: false 
},
{
   key: "XRP",
    used: false 
}]});

This is how I use this table. Maybe there is something wrong there:

const crypto_arr = JSON.parse(pm.variables.get()).crypt_arr;

105 thoughts on “How to set table as Postman.variables object”

  1. Thanks for another wonderful post. The place else may just
    anybody get that kind of information in such a perfect means of writing?
    I have a presentation subsequent week, and I am on the search for such info.

    Reply
  2. A North Carolina woman who won aspect of a
    $564 million Powerball jackpot has been citted forr dru possession following a law enfoircement search of her dwelling.

    Feel free to visit my web-site website

    Reply
  3. I’m amazed, I must say. Rarely do I encounter a blog that’s both educative
    and engaging, and let me tell you, you’ve hit the nail on the head.
    The problem is an issue that not enough people
    are speaking intelligently about. I am very happy
    I came across this during my search for something concerning this.

    Reply
  4. I know this if off topic but I’m looking into starting my own weblog
    and was wondering what all is required to get setup? I’m assuming having a
    blog like yours would cost a pretty penny? I’m not very web savvy so I’m not 100% sure.

    Any tips or advice would be greatly appreciated. Cheers

    Reply
  5. Appreciating the time and energy you put into your blog and detailed information you provide.
    It’s awesome to come across a blog every once in a while that
    isn’t the same outdated rehashed material.

    Fantastic read! I’ve saved your site and I’m including your RSS feeds to my Google account.

    Reply
  6. I feel this is one of the such a lot important information for me.
    And i’m satisfied studying your article. But want to commentary
    on few basic issues, The site style is great, the articles is in point of fact excellent : D.
    Excellent task, cheers

    Reply
  7. A person necessarily assist to make seriously articles I
    might state. That is the very first time I frequented your website page and to this
    point? I amazed with the research you made to create this particular publish incredible.

    Wonderful activity!

    Reply
  8. Hi! I know this is kindxa off topic but I was wondering which blog platform
    arre yoou using forr this website? I’m getting tired of WordPress
    because I’ve had problems with hackers and I’m looking at options for another platform.
    I would be fantastic if youu ccould point me in the direction of a
    good platform.

    Visit mmy blog … Chaturbate

    Reply
  9. Ek hizmet alanları Casibom sitesi içerisinde dikkat edilerek hizmete konulan bölümler olmaktadır. Kullanıcıların sorunsuz işlem sağlaması için ek alanların alt yapı sistemleri Casibom sitesi tarafından güncellenmektedir. Bahis severler sitede bulunan canlı destek ekibinden haftanın her günü yararlanabilmektedir.

    Reply
  10. I am really loving the theme/design oof your weblog.
    Do you ever run into any internet browaser compatibility issues?
    A few of my blog readers have complained about my website
    not working correctly in Explorer but looks great inn
    Opera. Do you have any solutions to help fix thijs problem?

    Here is my web site Chaturbate

    Reply

Leave a Comment