Questions tagged [netjson]

NetJSON data interchange format for networks

3 questions
2
votes
0 answers

Python jsonschema: how to query schema to determine the type of a property?

Consider the following use case: I have the configuration of a network router (OpenWRT) in text format that I'm converting to JSON (NetJSON to be specific), the text format used by the router only uses strings and I have to convert many…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
1
vote
0 answers

How to remove default response headers in website in case of AWS?

When i send the request able to see the default AWS Header which seem to sensetive. The following headers is reflecting. X-Amzn-Requestid: X-Amz-Apigw-Id: X-Amzn-Remapped-Server: X-Amzn-Remapped-Date: is it possible…
m14r41
  • 11
  • 2
1
vote
1 answer

How to convert and configure igraph object to JSON

I have used the d3r package to convert an igraph object to JSON format like so: # create small world network net <- sample_smallworld(size = 8, dim = 1, nei = 1, p = 0.33) # convert to json with directional edges data_json <-…
user72716
  • 263
  • 3
  • 22