User Tag List

Results 1 to 8 of 8

Thread: Encode JSON file in fusion 2.5

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    ramyhakam's Avatar
    Join Date
    Feb 2014
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Encode JSON file in fusion 2.5

    How i can Encode data in json file format and to send it to the server ?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Didn't you already have a thread about this? I'm pretty sure I gave you the exact code you needed to do this. You have to manually build the JSON string by hand, then submit it to the server with the GET object.
    Working as fast as I can on Fusion 3

  3. #3
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    He want to encode it so he must use own encode or base64.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    ramyhakam's Avatar
    Join Date
    Feb 2014
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to encode it in a file to save it and upload it to server
    i use get and encode json file in the server side
    but is there any way to make json file in fusion and save it like ini files

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Plenty of extensions can save text files, just pick one.
    Working as fast as I can on Fusion 3

  6. #6
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately, you will not be able to decrypt files on the server side without the knowledge of how the extension encrypt your files. My suggestion is to use binary array and make your own encryption.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    ramyhakam's Avatar
    Join Date
    Feb 2014
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok Thanks all

  8. #8
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can do bit operations like xor to encode your data.

Similar Threads

  1. Send JSON data from Click fusion 2.5
    By ramyhakam in forum Extension Development
    Replies: 18
    Last Post: 28th March 2016, 07:32 PM
  2. Manually parse a json file
    By StingRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th September 2013, 02:47 PM
  3. JSON file error msg on built application
    By RobertRule in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 14th October 2012, 02:29 AM
  4. EDIF Template and JSON file
    By conceptgame in forum Extension Development
    Replies: 7
    Last Post: 2nd April 2012, 05:05 AM
  5. URL encode
    By ASD in forum Extension Development
    Replies: 0
    Last Post: 26th February 2011, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •