mongoimport


How to import a json file to MongoDB


I have some problem to import a json file to mongo.
Here is what i wrote:
mongoimport --db tst --collection stocks --type json --file //home/ubuntu/workspace/stocksNsdq.json --jsonArray
This is the error that i got:
2014-08-23T15:05:09.569+0000 SyntaxError: Unexpected identifier

Related Links

mongoimport csv file error : fields cannot be identical '' and ''
FailedToParse: Date expecting integer milliseconds
mongoimport very very slow for large json file
How to import a json file to MongoDB
Mongoimport in Mongodb

Categories

HOME
postgresql
javafx
itunesconnect
ide
compression
process
microcontroller
windows-server-2008
skypedeveloper
arcgis
x86-64
coordinates
confluence-rest-api
hibernate-mapping
open-search-server
cdn
rtc
segmentation-fault
token
ethereum
http-status-codes
virtualenv
derby
wallet
hapijs
autologin
javaagents
uipath
oracle10g
visual-studio-community
smart-device
foxpro
exacttarget
ios-autolayout
tikz
mplab
loopback
oracle-nosql
circle
availability
matlab-compiler
geocomplete
respect-validation
kofax
scip
mongoid5
queryover
motion
linkurious
observer-pattern
ng-lightning
redbean
pyexcel
compiler-warnings
datagridviewcombobox
mef
activeandroid
hdpi
emacs24
import.io
noise
jcs
photoshop-script
sharpssh
dmalloc
trusted-computing
was
timex
msiexec
vertex-shader
spring-social-twitter
android-tabs
firebase-polymer
universe
tinybox2
android-xmlpullparser
avaudiorecorder
paypal-subscriptions
innertext
stdlist
github-for-mac
gnu-sort
sdkman
jts
self-join
eula
httpmodule
screen-lock
mathics
random-access
qf-test
powerpoint-2010
nest-initiative
episerver-7
ant-contrib
boofcv
.net-reflector
jfilechooser
maven-webstart-plugin
nsautoreleasepool
pymel
metapost
netzke
doxia
states
event-propagation
soapexception
excellibrary
activescaffold
numerical-computing
httpbrowsercapabilities
office-2003

Resources

Encrypt Message