HISE Logo Forum
    • Categories
    • Register
    • Login

    FixObjectFactory.....

    Scheduled Pinned Locked Moved General Questions
    2 Posts 1 Posters 92 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon
      last edited by Lindon

      So quick question ..can I do this?

      const var f1 = Engine.createFixObjectFactory({
      	"myValue": 17,
      	"someOtherValue": 42.0
      });
      // Creates an object for interacting with the array above
      const var obj = f1.create();
      
      // save it off to disk...
      Engine.dumpAsJSON(obj, "myfile.json");
      
      

      or do I have to copy obj into a "real" json object?

      HISE Development for hire.
      www.channelrobot.com

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @Lindon
        last edited by Lindon

        ..and supplementary question:

        Can I store this in a panels data?

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        48

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts