Code Monkey home page Code Monkey logo

Comments (5)

elkozmon avatar elkozmon commented on June 12, 2024

Hi!

It is not encrypted, just compressed. If you un-gzip the contents, you will get raw data in JSON format.

This is due to the fact that uncompressed exports can get quite big and people would need to manually tune server configuration to allow for large payloads to be able to import the data later.

from zoonavigator.

hamidgholami avatar hamidgholami commented on June 12, 2024

Hello,

Thank you for your response. But I mean "data: " field in JSON format as you can see in below.

[
   {
      "h":{
         "acl":[
            {
               "id":"anyone",
               "scheme":"world",
               "permissions":[
                  "read",
                  "admin",
                  "delete",
                  "write",
                  "create"
               ]
            }
         ],
         "path":"/test",
         "data":"aGVsbG8="           ***************** I want this data clearly *****************
      },
      "t":[
         {
            "h":{
               "acl":[
                  {
                     "id":"anyone",
                     "scheme":"world",
                     "permissions":[
                        "read",
                        "admin",
                        "delete",
                        "write",
                        "create"
                     ]
                  }
               ],
               "path":"/test/child",
               "data":"d29ybGQ="           ***************** I want this data clearly *****************
            },
            "t":[

            ]
         }
      ]
   }
]

Actually, I want to get a JSON with all data. I want to search on zookeeper data.
Another question: Is there any way for export data in YAML format?

Best regards,
Hamid

from zoonavigator.

elkozmon avatar elkozmon commented on June 12, 2024

Ah right, sorry.

As for the data fields. It is base64 encoded, so you can easily decode it back to human-readable text.
Again, the reasoning behind this is, that there have been requests for ZooNavigator to be able to edit binary data within Z-nodes (which it can now). Exporting such Z-nodes requires a binary-friendly format, hence the encoding.

And as for the YAML exports, sorry, there is no way to do that.
The best I can do is suggest something like this: https://www.json2yaml.com/

from zoonavigator.

elkozmon avatar elkozmon commented on June 12, 2024

I'm aware that this is probably not the answer you were hoping for, but those are the limitations with exports.

I think, however, that such "search over Z-nodes data" is a feature worth implementing in itself.

from zoonavigator.

hamidgholami avatar hamidgholami commented on June 12, 2024

Thank you for your response

from zoonavigator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.