-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
Here is the lua file:
local json = require("qjson")
a = "v=spf1 include:_netblocks.viacom.com include:_spf.salesforce.com include:spf.protection.outlook.com include:servers.mcsv.net include:stspg-customer.com\ninclude:_spf.google.com include:_spf-customer.tbxnet.com ~all"
print(json.encode({a}))
Running it on bash shows 2 lines while it should be one line.
lua s.lua | nl
output:
1 ["v=spf1 include:_netblocks.viacom.com include:_spf.salesforce.com include:spf.protection.outlook.com include:servers.mcsv.net include:stspg-customer.com
2 include:_spf.google.com include:_spf-customer.tbxnet.com ~all"]
The problem is that it breaks the line into two lines which I think it's not the normal behavior of the JSON.
what do you think?
Thanks,
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working