json-sempai
json-sempai copied to clipboard
Use JSON files as if they are python modules
Needs to support BSON also, so we can do horrible dirty things like load Mongo data off disk, as a module, w/o a MongoDB server.
To appease the AbsurdJS crowd: https://github.com/nerdfiles/css-sempai

One does not simply use `m` without vowel after. The correct version is `senpai`, せんぱい.
Implements the option to `eval` any string in the json as code by just calling it: ``` python TEST_FILE='''{ "code": "lambda x: x + 1" }''' >>> from jsonsempai import...
In my production server I keep needing to do: ``` python def crud_handler(): request = __import__('user_posted_json') eval(request.method)(db_connection, request.args) ``` Please consider allowing this syntax so my code looks cleaner: ```...
One of my co-workers suggested that we use this. I don't know if he's joking. I hope he is. I'm concerned that someone might be foolish enough to actually try...
Someone might actually use this.
Like: 1. propertyValue--/uuid/.json?{{cacheBustUnitTest1}}/{{timeStamp}} Load the URLs at the boot of your interface in a config or factory asynchronously. Then use $sce to parse the string and instantiate it as a...