KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Web interface, JSON Re: Web interface, JSON

  • grigora

    Member
    September 13, 2023 at 12:00 am

    enlist did the trick, thanks. The following works fine, no need for double .j.j / .j.k

    f1:{enlist (`t1`t2)!(([]c1:`a`b`c;c2:1 2 3);([]c1:`d`e`f;c2:4 5 6))}
    wget http://localhost:5000/test.json?f1` -O test.json
    
    q).j.k raze read0`:test.json
    t1| +`c1`c2!((,"a";,"b";,"c");1 2 3f)
    t2| +`c1`c2!((,"d";,"e";,"f");4 5 6f)