HISE Logo Forum
    • Categories
    • Register
    • Login

    Remove json file

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 193 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.
    • F
      fmented
      last edited by

      Hello everyone I have a small question, how do you remove json file using script? , I use json file to store key color and key transpose, but I want to give an option to delete that, how can I achieve that?

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @fmented
        last edited by

        @fmented You might not be able to delete the files but you can populate/empty their object using Engine.dumpAsJSON(var object, String fileName); and Engine.loadFromJSON(String fileName);

        Can't help pressing F5 in the forum...

        F 1 Reply Last reply Reply Quote 0
        • F
          fmented @ustk
          last edited by

          @ustk yeah that's what I come up with, I listed their name on separate object to call the actual objects, thanks man. I thought there was a way to delete files directly.

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

          21

          Online

          1.7k

          Users

          11.9k

          Topics

          103.6k

          Posts