dartlang_json_webservice_article_code icon indicating copy to clipboard operation
dartlang_json_webservice_article_code copied to clipboard

Target of URI does not exist - "import 'package:json_object/json_object.dart';"

Open thinkjones opened this issue 11 years ago • 1 comments

I am having an issue using the json_object package in my own project and notice the same error in the articla example code here. In json_client.dart the import statement fails:

import 'package:json_object/json_object.dart';

with

Target of URI does not exist: 'package:json_object/ json_object.dart'

Any ideas?

Thanks Gene (Dart SDK version 0.5.20.4_r24275)

thinkjones avatar Jul 08 '13 02:07 thinkjones

ok I fixed it by changing the dependencies of pubspec.yaml in the dartwatch-JsonObject project to:

name: json_object
version: 1.0.15+3
author: Chris Buckett <[email protected]>
description: Allow use of JSON Maps in dot notation format
homepage: https://github.com/chrisbu/dartwatch-JsonObject
environment:
  sdk: '>=0.5.0+1.r21823'
dependencies:
  meta: '>=0.5.0+1 <0.6.0'
dev_dependencies:
  unittest: any

thinkjones avatar Jul 08 '13 02:07 thinkjones